Add auto-configuration for separate Spring Session Data MongoDB module
Closes gh-9552
This commit is contained in:
@@ -427,6 +427,9 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.session.jdbc.schema=classpath:org/springframework/session/jdbc/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
|
||||
spring.session.jdbc.table-name=SPRING_SESSION # Name of database table used to store sessions.
|
||||
|
||||
# SPRING SESSION MONGO ({sc-spring-boot-autoconfigure}/session/MonogoSessionProperties.{sc-ext}[MongoSessionProperties])
|
||||
spring.session.mongo.collection-name=sessions # Collection name used to store sessions.
|
||||
|
||||
# SPRING SESSION REDIS ({sc-spring-boot-autoconfigure}/session/RedisSessionProperties.{sc-ext}[RedisSessionProperties])
|
||||
spring.session.redis.flush-mode=on-save # Sessions flush mode.
|
||||
spring.session.redis.namespace= # Namespace for keys used to store sessions.
|
||||
|
||||
@@ -5364,6 +5364,7 @@ classes for more details.
|
||||
Spring Boot provides Spring Session auto-configuration for a wide range of stores:
|
||||
|
||||
* JDBC
|
||||
* MongoDB
|
||||
* Redis
|
||||
* Hazelcast
|
||||
|
||||
|
||||
Reference in New Issue
Block a user