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
Notice that the RememberMeAuthenticationProvider is instantiated with the key field of the RememberMeConfigurer and not with the key provided to the RememberMeServices.
Expected Behavior
I would expect to need to specify the key only once, so
Summary
Using Spring Boot 1.4.2 and Spring Security 4.1.3
I want to use a custom
RememberMeServices
.I need to specify the secret key in both the
RememberMeServices
instantiation and in theRememberMeConfigurer
usage.Actual Behavior
Usage that works:
I need to specify twice the remember me key:
and
This because of the following snippet in
RememberMeConfigurer
:Notice that the
RememberMeAuthenticationProvider
is instantiated with thekey
field of theRememberMeConfigurer
and not with the key provided to theRememberMeServices
.Expected Behavior
I would expect to need to specify the key only once, so
should work.
Version
Spring Boot 1.4.2 and Spring Security 4.1.3
The text was updated successfully, but these errors were encountered: