mirror of https://github.com/apache/archiva.git
add user in AuthenticationFailureCause
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3029522b6e
commit
7bcf1cec6f
|
@ -164,7 +164,7 @@ public class ArchivaUserManagerAuthenticator
|
|||
//throw e;
|
||||
resultException = e;
|
||||
authnResultErrors.add( new AuthenticationFailureCause(
|
||||
AuthenticationConstants.AUTHN_MUST_CHANGE_PASSWORD_EXCEPTION, e.getMessage() ) );
|
||||
AuthenticationConstants.AUTHN_MUST_CHANGE_PASSWORD_EXCEPTION, e.getMessage() ).user( user ) );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -173,7 +173,7 @@ public class ArchivaUserManagerAuthenticator
|
|||
userManager.getId() );
|
||||
authnResultErrors.add( new AuthenticationFailureCause( AuthenticationConstants.AUTHN_NO_SUCH_USER,
|
||||
"Password is Invalid for user "
|
||||
+ source.getUsername() + "." ) );
|
||||
+ source.getUsername() + "." ).user( user ) );
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue