cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [23/28] git commit: updated refs/heads/master to ae207be
Date Tue, 12 Aug 2014 10:35:14 GMT
DefaultLoginAPIAuthenticatorCmd: return userId as UUID

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ae207bea
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ae207bea
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ae207bea

Branch: refs/heads/master
Commit: ae207bea988dee9b222301e58e488b29cff7989a
Parents: bae8f2a
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Tue Aug 12 10:55:07 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Tue Aug 12 12:01:32 2014 +0200

----------------------------------------------------------------------
 .../src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java   | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ae207bea/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java b/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java
index fe04ed9..f5d633e 100644
--- a/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java
+++ b/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java
@@ -118,9 +118,6 @@ public class DefaultLoginAPIAuthenticatorCmd extends BaseCmd implements
APIAuthe
             while (attrNames.hasMoreElements()) {
                 final String attrName = (String) attrNames.nextElement();
                 final Object attrObj = session.getAttribute(attrName);
-                if (ApiConstants.USER_ID.equalsIgnoreCase(attrName)) {
-                    response.setUserId(attrObj.toString());
-                }
                 if (ApiConstants.USERNAME.equalsIgnoreCase(attrName)) {
                     response.setUsername(attrObj.toString());
                 }


Mime
View raw message