Affects: 5.3.10
Context: I'm using CookieLocaleResolver
, and I have a requirement to have explicit SameSite
policies on all cookies.
It would be nice if CookieGenerator
let the SameSite
attribute be set.
Spring Session has CookieSerializer
which is nice and covers the session cookie.
Thank you.
Comment From: sbrannen
If you are using Spring Boot, the upcoming 2.6 release will provide support for setting the SameSite
attribute. See https://github.com/spring-projects/spring-boot/issues/20971 for details.
Comment From: ldap4life
Thanks this should suffice.