mirror of https://github.com/apache/archiva.git
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:
parent
a3524f4ebb
commit
c7fdfabe19
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue