From ae207bea988dee9b222301e58e488b29cff7989a Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Tue, 12 Aug 2014 10:55:07 +0200 Subject: [PATCH] DefaultLoginAPIAuthenticatorCmd: return userId as UUID Signed-off-by: Rohit Yadav --- .../com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java b/server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java index fe04ed90ed1..f5d633e025f 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()); }