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;