mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
improve logging
This commit is contained in:
@@ -99,8 +99,7 @@ public class ChainAuthenticatonManager extends AbstractAuthenticationManager
|
|||||||
this.encryptionHandler = encryptionHandler;
|
this.encryptionHandler = encryptionHandler;
|
||||||
this.authenticationListenerProvider = authenticationListenerProvider;
|
this.authenticationListenerProvider = authenticationListenerProvider;
|
||||||
this.cache = cacheManager.getCache(String.class,
|
this.cache = cacheManager.getCache(String.class,
|
||||||
AuthenticationCacheValue.class,
|
AuthenticationCacheValue.class, CACHE_NAME);
|
||||||
CACHE_NAME);
|
|
||||||
|
|
||||||
// addListeners(authenticationListeners);
|
// addListeners(authenticationListeners);
|
||||||
}
|
}
|
||||||
@@ -260,7 +259,9 @@ public class ChainAuthenticatonManager extends AbstractAuthenticationManager
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
logger.error(ex.getMessage(), ex);
|
logger.error(
|
||||||
|
"error durring authentication process of ".concat(
|
||||||
|
authenticator.getClass().getName()), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user