Skip to content

Fix "Find by Username" sample - #2164

Merged
rwinch merged 1 commit into
spring-projects:mainfrom
vpavic:fix-boot-samples
Sep 22, 2022
Merged

rwinch merged 1 commit into
spring-projects:mainfrom
vpavic:fix-boot-samples

Conversation

@vpavic

@vpavic vpavic commented Sep 21, 2022

Copy link
Copy Markdown
Contributor

Spring Boot's auto-configuration support for Spring Session now uses RedisSessionRepository as the default Redis session repository, so applications that rely on indexed session repository need to opt into the previous default. One such example is our Find by Username sample.

This commit fixes Find by Username sample by opting into the indexed repository type using newly introduced spring.session.redis.repository-type property.

Spring Boot's auto-configuration support for Spring Session now uses RedisSessionRepository as the default Redis session repository, so applications that rely on indexed session repository need to opt into the previous default. One such example is our "Find by Username" sample.

This commit fixes "Find by Username" sample by opting into the indexed repository type using newly introduced spring.session.redis.repository-type property.
@rwinch rwinch self-assigned this Sep 22, 2022
@rwinch rwinch added in: docs An issue in Documentation or samples type: bug A general bug labels Sep 22, 2022
@rwinch rwinch added this to the 3.0.0-RC1 milestone Sep 22, 2022
@rwinch
rwinch merged commit a23090e into spring-projects:main Sep 22, 2022
@vpavic
vpavic deleted the fix-boot-samples branch September 22, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: docs An issue in Documentation or samples type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants