Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AE61CD75 for ; Tue, 12 Aug 2014 10:35:04 +0000 (UTC) Received: (qmail 62773 invoked by uid 500); 12 Aug 2014 10:34:53 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 62700 invoked by uid 500); 12 Aug 2014 10:34:53 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 62378 invoked by uid 99); 12 Aug 2014 10:34:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 10:34:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0D3C48A742B; Tue, 12 Aug 2014 10:34:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Tue, 12 Aug 2014 10:35:14 -0000 Message-Id: <16f2c223cd404b34b9ea766262077738@git.apache.org> In-Reply-To: <9602e49732e842f1849b7bb67432733c@git.apache.org> References: <9602e49732e842f1849b7bb67432733c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [23/28] git commit: updated refs/heads/master to ae207be DefaultLoginAPIAuthenticatorCmd: return userId as UUID Signed-off-by: Rohit Yadav 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 Authored: Tue Aug 12 10:55:07 2014 +0200 Committer: Rohit Yadav 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()); }