Skip to content

Commit 2f794ee

Browse files
committed
Consider MongoOperationsSessionRepository when checking for duplicates
See gh-9552
1 parent ee16484 commit 2f794ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/SessionAutoConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ public void checkAvailableImplementations() {
113113
"org.springframework.session.hazelcast.HazelcastSessionRepository");
114114
addCandidate(candidates,
115115
"org.springframework.session.jdbc.JdbcOperationsSessionRepository");
116+
addCandidate(candidates,
117+
"org.springframework.session.data.mongo.MongoOperationsSessionRepository");
116118
addCandidate(candidates,
117119
"org.springframework.session.data.redis.RedisOperationsSessionRepository");
118120
StoreType storeType = this.sessionProperties.getStoreType();

0 commit comments

Comments
 (0)