From 39b78ee17ccdbcf17ef519bec10ccfd296632eae Mon Sep 17 00:00:00 2001 From: alena Date: Tue, 30 Aug 2011 16:51:45 -0700 Subject: [PATCH] bug 11298: give detailed error message when failed to authenticate a user status 11298: resolved fixed --- server/src/com/cloud/api/ApiServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java index 1dd107fce07..6de90f67989 100755 --- a/server/src/com/cloud/api/ApiServer.java +++ b/server/src/com/cloud/api/ApiServer.java @@ -731,7 +731,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) {