mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
fix bug in authentication cache
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user