fix issue that the user id is not assigned. 39/70639/2
authorMichael Lando <michael.lando@intl.att.com>
Wed, 17 Oct 2018 06:42:46 +0000 (09:42 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Wed, 17 Oct 2018 12:10:52 +0000 (12:10 +0000)
Change-Id: I99f19ef5b385c83877b303e5a74c58fe5954c892
Issue-ID: SDC-1839
Signed-off-by: Michael Lando <michael.lando@intl.att.com>
catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java

index 1aeb23e..31467b7 100644 (file)
@@ -283,7 +283,7 @@ public class PortalServlet extends HttpServlet {
                                if (cookie.getName().equals(Constants.ECOMP_PORTAL_COOKIE))
                                        userIdcookie = cookie;
                if (userIdcookie != null) {
-                       CipherUtil.decrypt(userIdcookie.getValue());
+                       userId = CipherUtil.decrypt(userIdcookie.getValue());
                        //Todo Remove after smoke test & review
                        /*userId = CipherUtil.decrypt(userIdcookie.getValue(),
                                        PortalApiProperties.getProperty(PortalApiConstants.CSP_GATE_KEEPER_PROD_KEY));*/