From 370160720d233d124c2f6dc88d452be2d51f9810 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Fri, 4 May 2018 12:53:28 +0200 Subject: [PATCH 1/2] 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 1e97919dd8b..5b7579679e1 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] From 126f928f3624e09a02e8e475b86468a498435247 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 4 May 2018 14:26:51 +0200 Subject: [PATCH 2/2] Polish "Improve Spring Session docs" Closes gh-13061 --- .../src/main/asciidoc/spring-boot-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 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 5b7579679e1..6b2aeb97b3c 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,8 +5994,8 @@ When building a reactive web application, the following stores can be auto-confi * Redis * MongoDB -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 +If a single Spring Session module is present on the classpath, Spring Boot uses that store +implementation automatically. If you have more than one implementation, 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: