-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Possible misconfiguration of SecurityContextRepository #12023
Labels
Milestone
Comments
Changes related to this issue included in
Related gh-11026 |
sjohnr
pushed a commit
to sjohnr/spring-security
that referenced
this issue
Oct 17, 2022
sjohnr
pushed a commit
to sjohnr/spring-security
that referenced
this issue
Oct 17, 2022
sjohnr
pushed a commit
to sjohnr/spring-security
that referenced
this issue
Oct 18, 2022
sjohnr
pushed a commit
that referenced
this issue
Oct 18, 2022
sjohnr
pushed a commit
that referenced
this issue
Oct 18, 2022
sjohnr
pushed a commit
that referenced
this issue
Oct 18, 2022
sjohnr
pushed a commit
that referenced
this issue
Nov 9, 2022
sjohnr
pushed a commit
that referenced
this issue
Nov 9, 2022
sjohnr
pushed a commit
that referenced
this issue
Nov 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default
SecurityContextRepository
for stateless applications is nowRequestAttributeSecurityContextRepository
. However,SecurityContextConfigurer
sets theSecurityContextRepository
toHttpSessionSecurityContextRepository
if it isn't already set as a shared object. This results in the context being saved by theRequestAttributeSecurityContextRepository
but loaded fromHttpSessionSecurityContextRepository
for an error dispatch.The text was updated successfully, but these errors were encountered: