You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you interested in submitting a PR that fixes the documentation? The PR should target the 5.8.x branch since this is the oldest supported branch that the problem happens.
In the documentation Storing the Authentication manually:
https://docs.spring.io/spring-security/reference/servlet/authentication/session-management.html#store-authentication-manually, the line
securityContextHolderStrategy.setContext(authentication);
should besecurityContextHolderStrategy.setContext(context);
Original snippet:
As per my understanding it should be:
The text was updated successfully, but these errors were encountered: