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
We are configuring HttpSecurity to use a different SecurityContextRepository via http.securityContext().securityContextRepository(new NullSecurityContextRepository());. However, RememberMeAuthenticationFilter would still use HttpSessionSecurityContextRepository instead of the NullSecurityContextRepository we configured.
We are configuring HttpSecurity to use a different SecurityContextRepository via
http.securityContext().securityContextRepository(new NullSecurityContextRepository());
. However,RememberMeAuthenticationFilter
would still useHttpSessionSecurityContextRepository
instead of theNullSecurityContextRepository
we configured.It seems the SecurityContextRepository set in HttpSecurity is not been propagated to
RememberMeAuthenticationFilter
in https://github.com/spring-projects/spring-security/blob/main/config/src/main/java/org/springframework/security/config/annotation/web/configurers/RememberMeConfigurer.java#L291The text was updated successfully, but these errors were encountered: