-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Add auto-config for Spring Session cookie serializer #10440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Is there a possibility that a user will want to use the auto-configured |
Thanks for the feedback @wilkinsona.
Yes, that indeed is a possibility. We can only discard that option if user configured |
I agree that fixing #10699 would be the preferred solution. Nevertheless, I'll update the discussed conditions to have this PR available as a backup plan. |
Done. |
This commit adds support for auto-configuring Spring Session's `DefaultCookieSerializer` using `ServerProperties`.
With #10699 resolved, this PR isn't needed any more. I've tested the latest |
Thanks for testing the snapshot, @vpavic. Much appreciated. |
This PR adds support for auto-configuring Spring Session's
DefaultCookieSerializer
usingServerProperties
.The auto-configuration of
DefaultCookieSerializer
will back-off is users provide their ownCookieSerializer
orHttpSessionStrategy
bean.This resolves #10371.