Skip to content

Commit 3268160

Browse files
Remove references to spring.session.store-type
Closes gh-2858
1 parent 1f2d9ca commit 3268160

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

spring-session-docs/modules/ROOT/pages/guides/boot-jdbc.adoc

+1-9
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,7 @@ Spring Boot provides dependency management for Spring Session modules, so you ne
4141
== Spring Boot Configuration
4242

4343
After adding the required dependencies, we can create our Spring Boot configuration.
44-
Thanks to first-class auto configuration support, setting up Spring Session backed by a relational database is as simple as adding a single configuration property to your `application.properties`.
45-
The following listing shows how to do so:
46-
47-
====
48-
.src/main/resources/application.properties
49-
----
50-
spring.session.store-type=jdbc # Session store type.
51-
----
52-
====
44+
Thanks to first-class auto-configuration support, just by adding the dependency Spring Boot will set up Spring Session backed by a relational database for us.
5345

5446
If a single Spring Session module is present on the classpath, Spring Boot uses that store implementation automatically.
5547
If you have more than one implementation, you must choose the StoreType that you wish to use to store the sessions, as shows above.

spring-session-docs/modules/ROOT/pages/guides/boot-redis.adoc

+1-8
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,7 @@ Spring Boot provides dependency management for Spring Session modules, so you ne
4444
== Spring Boot Configuration
4545

4646
After adding the required dependencies, we can create our Spring Boot configuration.
47-
Thanks to first-class auto-configuration support, setting up Spring Session backed by Redis is as simple as adding a single configuration property to your `application.properties`, as the following listing shows:
48-
49-
====
50-
.src/main/resources/application.properties
51-
----
52-
spring.session.store-type=redis # Session store type.
53-
----
54-
====
47+
Thanks to first-class auto-configuration support, just by adding the dependency Spring Boot will set up Spring Session backed by Redis for us.
5548

5649
Under the hood, Spring Boot applies configuration that is equivalent to manually adding `@EnableRedisHttpSession` annotation.
5750
This creates a Spring bean with the name of `springSessionRepositoryFilter` that implements `Filter`.

0 commit comments

Comments
 (0)