fix bug in authentication cache

This commit is contained in:
Sebastian Sdorra
2011-02-08 19:35:35 +01:00
parent fb10867652
commit 6eecab364e

View File

@@ -269,13 +269,15 @@ public class ChainAuthenticatonManager extends AbstractAuthenticationManager
* Constructs ...
*
*
* @param authenticationResult
*
* @param ar
* @param password
*/
public AuthenticationCacheValue(AuthenticationResult authenticationResult,
String password)
public AuthenticationCacheValue(AuthenticationResult ar, String password)
{
this.authenticationResult = authenticationResult;
this.authenticationResult =
new AuthenticationResult(ar.getUser().clone(), ar.getGroups(),
ar.getState());
this.password = password;
}