summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-core/src/main
diff options
context:
space:
mode:
authorKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>2018-07-09 13:41:00 -0400
committerKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>2018-07-11 13:20:28 -0400
commita96a3e49cd472aa902c22143358b87562603d47c (patch)
tree7e97578788de44f6704252cf982af09adcc05e8d /ecomp-sdk/epsdk-core/src/main
parent9ac542482e4710e5566d147ca7a7a42500628ba2 (diff)
Adding User Auth and permission aaf services
Issue-ID: PORTAL-334 Change-Id: I2826f2a06f7d818d918ae5f45b500a8da78cec42 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/main')
-rw-r--r--ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java
index e088499b..915f6e55 100644
--- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java
+++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java
@@ -90,14 +90,7 @@ public class UserUtils {
session.setAttribute(SystemProperties.FIRST_NAME, user.getFirstName());
session.setAttribute(SystemProperties.LAST_NAME, user.getLastName());
session.setAttribute(SystemProperties.ROLE_FUNCTION_LIST, roleFunctionList);
-
- ServletContext context = session.getServletContext();
- int licenseVarificationFlag = 3;
- try {
- licenseVarificationFlag = (Integer) context.getAttribute("licenseVerification");
- } catch (Exception e) {
- logger.error(EELFLoggerDelegate.errorLogger, "setUserSession failed on license verification", e);
- }
+
String displayName = "";
if (SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME) != null)
displayName = SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME);