diff options
author | jimmydot <jf2512@att.com> | 2017-05-30 16:06:51 -0400 |
---|---|---|
committer | jimmydot <jf2512@att.com> | 2017-05-30 16:06:51 -0400 |
commit | 6c7dcba5be04a502a2d5de7e7c5f14eedf9eaa2a (patch) | |
tree | 85f583353ede474b859e46707f15cb4326ea863a /vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java | |
parent | ef3524df38879e4f070a018beb3de494cf276fee (diff) |
[VID-12] Delivery of remaining features for v1.1
Change-Id: I50305ba25aaa34ee1ca7640237f31ab824655a34
Signed-off-by: jimmydot <jf2512@att.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java')
-rwxr-xr-x | vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java b/vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java index 7cb25c26..92b75285 100755 --- a/vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java +++ b/vid-app-common/src/main/java/org/openecomp/vid/controller/AaiController.java @@ -126,7 +126,10 @@ public class AaiController extends RestrictedBaseController{ User user = (User) session.getAttribute(SystemProperties.getProperty(SystemProperties.USER_ATTRIBUTE_NAME));
if (user != null)
{
- userId = user.getHrid();
+ //userId = user.getHrid();
+ userId = user.getLoginId();
+ if (userId == null)
+ userId = user.getOrgUserId();
}
}
|