Add auto-configuration support for Spring Session
This commit adds support for automatically configuring Spring Session. In a web application when both Spring Session and Spring Data Redis are on the classpath, Spring Session's Redis Http Session support will be auto-configured. The max inactive interval for Redis-backed sessions can be configured via the environment using the existing server.session-timeout property. Closes gh-2318
This commit is contained in:
@@ -2812,6 +2812,16 @@ class for more details.
|
||||
|
||||
|
||||
|
||||
[[boot-features-session]]
|
||||
== Spring Session
|
||||
Spring Session provides support for managing a user's session information. If you are
|
||||
writing a web application and Spring Session and Spring Data Redis are both on the
|
||||
classpath, Spring Boot will auto-configure Spring Session through its
|
||||
`@EnableRedisHttpSession`. Session data will be stored in Redis and the session timeout
|
||||
can be configured using the `server.session-timeout` property.
|
||||
|
||||
|
||||
|
||||
[[boot-features-jmx]]
|
||||
== Monitoring and management over JMX
|
||||
Java Management Extensions (JMX) provide a standard mechanism to monitor and manage
|
||||
|
||||
Reference in New Issue
Block a user