mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user