improve log warning

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1421197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-13 10:26:00 +00:00
parent 42a05d50a5
commit 81e4886e06
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ public class ArchivaUserManagerAuthenticator
}
else
{
log.warn( "Password is Invalid for user {}.", source.getPrincipal() );
log.warn( "Password is Invalid for user {} and userManager '{}'.", source.getPrincipal(),
userManager.getId() );
authnResultExceptionsMap.put( AuthenticationConstants.AUTHN_NO_SUCH_USER,
"Password is Invalid for user " + source.getPrincipal() + "." );