bug 11298: give detailed error message when failed to authenticate a user

status 11298: resolved fixed
This commit is contained in:
alena 2011-08-30 16:51:45 -07:00
parent e1fb9e394c
commit 4f6914d56b
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ public class ApiServer implements HttpRequestHandler {
return;
}
throw new CloudAuthenticationException("Unable to find user " + username + " in domain " + domainId);
throw new CloudAuthenticationException("Failed to authenticate user " + username + " in domain " + domainId + "; please provide valid credentials");
}
public void logoutUser(long userId) {