diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
index 973c2c48b..082a15c68 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java
@@ -485,6 +485,38 @@ public class ArchivaConfigurableUsersManager
return user;
}
+
+ @Override
+ public boolean userExists( String userName )
+ throws UserManagerException
+ {
+ Exception lastException = null;
+ boolean allFailed = true;
+ boolean exists = false;
+ for ( UserManager userManager : userManagerPerId.values() )
+ {
+ try
+ {
+
+ if ( userManager.userExists( userName ) )
+ {
+ exists = true;
+ }
+ allFailed = false;
+
+ }
+ catch ( Exception e )
+ {
+ lastException = e;
+ }
+ }
+ if ( lastException != null && allFailed )
+ {
+ throw new UserManagerException( lastException.getMessage(), lastException );
+ }
+ return exists;
+ }
+
@Override
public boolean isFinalImplementation()
{
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
index 49d4b6536..990436b22 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/log4j2-test.xml
@@ -86,6 +86,8 @@
+
+