DefaultLoginAPIAuthenticatorCmd: return userId as UUID Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/03ad002b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/03ad002b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/03ad002b Branch: refs/heads/auth-refactor Commit: 03ad002b0966153c60e7aea2f9c9af12f8e86a5c Parents: 614d5c7 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Tue Aug 12 10:55:07 2014 +0200 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Tue Aug 12 10:55:07 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/03ad002b/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()); }