Closed
Description
The configuration for the Session Cookie (i.e. SessionCookieConfig) should impact Spring Session's settings.
Update:
There are some limitations in our capability of mapping SessionCookieConfig
's attributes (copied from the description on PR #713):
secure
:DefaultCookieSerializer#useSecureCookie
defaults tonull
and relies onServletRequest#isSecure
which means mapping a value fromSessionCookieConfig
would override our default (sincesecure
is a primitiveboolean
over there and typically defaults tofalse
)httpOnly
:DefaultCookieSerializer#useHttpOnlyCookie
defaults totrue
in Servlet 3.0+ environments which means our default would be overridden inhttpOnly
typically defaults tofalse