From 1bbfd9482dd28431715a67f61195d59a82844ca5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 22 Feb 2013 16:05:23 +0000 Subject: [PATCH] try other authenticator if there is a chain git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449092 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/web/security/ArchivaUserManagerAuthenticator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaUserManagerAuthenticator.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaUserManagerAuthenticator.java index a291345a9..0d04fa365 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaUserManagerAuthenticator.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaUserManagerAuthenticator.java @@ -50,7 +50,7 @@ import java.util.List; * @author Olivier Lamy * @since 1.4-M4 */ -@Service( "authenticator#archiva" ) +@Service("authenticator#archiva") public class ArchivaUserManagerAuthenticator extends AbstractAuthenticator implements Authenticator @@ -200,7 +200,7 @@ public class ArchivaUserManagerAuthenticator "Login for user " + source.getUsername() + " failed. user not found." ) ); } - catch ( UserManagerException e ) + catch ( Exception e ) { log.warn( "Login for user {} failed, message: {}", source.getUsername(), e.getMessage() ); resultException = e;