diff options
author | Olivier Lamy <olamy@apache.org> | 2013-02-22 16:05:23 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-02-22 16:05:23 +0000 |
commit | 1bbfd9482dd28431715a67f61195d59a82844ca5 (patch) | |
tree | 690c9f3e13f95872f88105c731f74da0c63e8e77 /archiva-modules/archiva-web/archiva-web-common | |
parent | ad33df69c84292bda51ce98d011405c25a912307 (diff) | |
download | archiva-1bbfd9482dd28431715a67f61195d59a82844ca5.tar.gz archiva-1bbfd9482dd28431715a67f61195d59a82844ca5.zip |
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
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common')
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaUserManagerAuthenticator.java | 4 |
1 files 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; |