Do not use servlet session timeout for reactive web applications

This commit fixes the auto-configuration of Spring Session to use
"server.servlet.session.timeout" as a fallback for Servlet-based web
applications only.

Closes gh-23752
This commit is contained in:
Stephane Nicoll
2020-10-26 11:58:49 +01:00
parent a669e1c568
commit e0f123e676
14 changed files with 178 additions and 48 deletions

View File

@@ -6736,7 +6736,7 @@ For instance, it is possible to customize the name of the table for the JDBC sto
----
For setting the timeout of the session you can use the configprop:spring.session.timeout[] property.
If that property is not set, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[].
If that property is not set with a Servlet web appplication, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[].