Add auto-configuration for Spring Session's reactive support

Closes gh-9850
This commit is contained in:
Andy Wilkinson
2017-10-30 15:12:35 +00:00
parent bdab4aa97e
commit a276356328
19 changed files with 657 additions and 85 deletions

View File

@@ -5506,13 +5506,19 @@ classes for more details.
[[boot-features-session]]
== Spring Session
Spring Boot provides Spring Session auto-configuration for a wide range of stores:
Spring Boot provides Spring Session auto-configuration for a wide range of stores. When
building a Servlet web application, the following stores can be auto-configured:
* JDBC
* Redis
* Hazelcast
* MongoDB
When building a reactive web applicaiton, the following stores can be auto-configured:
* Redis
* MongoDB
If Spring Session is available, you must choose the
{sc-spring-boot-autoconfigure}/session/StoreType.{sc-ext}[`StoreType`] that you wish to
use to store the sessions. For instance to use JDBC as backend store, you'd configure