summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rest
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2016-10-04 20:52:25 +0200
committerMartin Stockhammer <martin_s@apache.org>2016-10-16 17:18:23 +0200
commit3fe1000865bcab2e210b8482fa9f79ce5fd24782 (patch)
tree3210f462089e057788407ed38d56eff10bc9b8b9 /archiva-modules/archiva-web/archiva-rest
parentc4596cb59135d4d1f284f98e9bd1ca267bee289f (diff)
downloadarchiva-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.java7
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