diff options
author | Martin Stockhammer <martin_s@apache.org> | 2016-10-04 20:52:25 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2016-10-16 17:18:23 +0200 |
commit | 3fe1000865bcab2e210b8482fa9f79ce5fd24782 (patch) | |
tree | 3210f462089e057788407ed38d56eff10bc9b8b9 /archiva-modules/archiva-web/archiva-rest | |
parent | c4596cb59135d4d1f284f98e9bd1ca267bee289f (diff) | |
download | archiva-3fe1000865bcab2e210b8482fa9f79ce5fd24782.tar.gz archiva-3fe1000865bcab2e210b8482fa9f79ce5fd24782.zip |
Adding isValid() method to authentication classes
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java index e319c3629..0284bb8f5 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java @@ -192,7 +192,12 @@ public class DefaultRedbackRuntimeConfigurationService for ( Authenticator authenticator : authenticators ) { - authenticator.initialize(); + try { + log.debug("Initializing authenticatior "+authenticator.getId()); + authenticator.initialize(); + } catch (Exception e) { + log.error("Initialization of authenticator failed "+authenticator.getId(),e); + } } // users cache |