Skip to content

Commit a824edd

Browse files
committed
Mention Spring Boot implementation detection in docs
Resolves: gh-1610
1 parent aa4f783 commit a824edd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-session-docs/src/docs/asciidoc/guides/boot-jdbc.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spring.session.store-type=jdbc # Session store type.
5252
----
5353
====
5454

55+
If a single Spring Session module is present on the classpath, Spring Boot uses that store implementation automatically.
56+
If you have more than one implementation, you must choose the StoreType that you wish to use to store the sessions, as shows above.
57+
5558
Under the hood, Spring Boot applies configuration that is equivalent to manually adding the `@EnableJdbcHttpSession` annotation.
5659
This creates a Spring bean with the name of `springSessionRepositoryFilter`. That bean implements `Filter`.
5760
The filter is in charge of replacing the `HttpSession` implementation to be backed by Spring Session.

0 commit comments

Comments
 (0)