SEC-307: Preserve result of AuthenticationManager.authenticate(Authentication).
This commit is contained in:
parent
3b9a8dc53e
commit
1fa89e99c4
|
@ -106,7 +106,7 @@ public class RememberMeProcessingFilter implements Filter, InitializingBean, App
|
|||
if (rememberMeAuth != null) {
|
||||
// Attempt authenticaton via AuthenticationManager
|
||||
try {
|
||||
authenticationManager.authenticate(rememberMeAuth);
|
||||
rememberMeAuth = authenticationManager.authenticate(rememberMeAuth);
|
||||
|
||||
// Store to SecurityContextHolder
|
||||
SecurityContextHolder.getContext().setAuthentication(rememberMeAuth);
|
||||
|
|
Loading…
Reference in New Issue