mirror of https://github.com/apache/cloudstack.git
DefaultLoginAPIAuthenticatorCmd: return userId as UUID
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
bae8f2a8cb
commit
ae207bea98
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue