I missed to override a method. see logs on dev@ http://markmail.org/message/ecmo3jqopuh6rfj2

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1451377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-02-28 22:02:47 +00:00
parent a3524f4ebb
commit c7fdfabe19
2 changed files with 34 additions and 0 deletions

View File

@ -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()
{

View File

@ -86,6 +86,8 @@
<logger name="org.apache.archiva.web.security.ArchivaAuthorizer" level="debug"/>
<logger name="org.apache.archiva.redback.rest.services.DefaultRoleManagementService" level="debug"/>
<logger name="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry" level="debug"/>
<root level="info">