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:
Andy Wilkinson
2015-05-20 17:06:53 +01:00
parent dc6a2f057c
commit fd6d61e8b4
10 changed files with 283 additions and 0 deletions

View File

@@ -0,0 +1 @@
server.session-timeout: 5