Hazelcast session repository bean factory method return type is not specific enough #1905
Labels
in: hazelcast
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
The declared return type of Hazelcast session repository bean factory method (i.e.
HazelcastHttpSessionConfiguration#sessionRepository
) was changed toSessionRepository<?>
when support for Hazelcast 4 was added in 0ab781e.This breaks Spring Boot's ability to auto-configure sessions endpoint, which is
@ConditionalOnBean(FindByIndexNameSessionRepository.class)
, as the current return type is not specific enough to satisfy this condition.This was originally reported in spring-projects/spring-boot#27793.
The text was updated successfully, but these errors were encountered: