From 370160720d233d124c2f6dc88d452be2d51f9810 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Fri, 4 May 2018 12:53:28 +0200 Subject: [PATCH] Improve Spring Session docs See gh-13061 --- .../src/main/asciidoc/spring-boot-features.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 1e97919dd8..5b7579679e 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -5994,9 +5994,10 @@ When building a reactive web application, the following stores can be auto-confi * 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 the back-end store, you can +If a single Spring Session module is present on the classpath, Spring Boot will be able to +auto-configure session store without any user configuration. Otherwise, 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 the back-end store, you can configure your application as follows: [source,properties,indent=0]