Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hazelcast session repository bean factory method return type is not specific enough #1906

Closed
spring-projects-issues opened this issue Aug 26, 2021 · 1 comment
Labels
in: hazelcast type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link

Backport of gh-1905

@spring-projects-issues spring-projects-issues added in: hazelcast type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug labels Aug 26, 2021
@spring-projects-issues spring-projects-issues added this to the 2.4.6 milestone Aug 26, 2021
eleftherias pushed a commit that referenced this issue Sep 28, 2021
The declared return type of Hazelcast session repository bean factory method (i.e. HazelcastHttpSessionConfiguration#sessionRepository) was changed to SessionRepository<?> when support for Hazelcast 4 was added. 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 commit changes the return type of Hazelcast session repository bean factory method to FindByIndexNameSessionRepository<?>.

Closes: gh-1906
@spring-projects-issues
Copy link
Author

Fixed via 86e584e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: hazelcast type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant