Portal integration 91/70391/2
authorKotta, Shireesha (sk434m) <shireesha.kotta@att.com>
Fri, 12 Oct 2018 21:11:51 +0000 (17:11 -0400)
committerMichael Lando <michael.lando@intl.att.com>
Wed, 17 Oct 2018 06:34:10 +0000 (06:34 +0000)
Issue-ID: SDC-1749

Update SDC Portal integration decryption for userId

Change-Id: Ibaa48057f272955e9711e48f4e74d62df2725b05
Signed-off-by: Kotta, Shireesha (sk434m) <shireesha.kotta@att.com>
catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java

index 56a4198..1aeb23e 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.decryptPKC(userIdcookie.getValue());
+                       CipherUtil.decrypt(userIdcookie.getValue());
                        //Todo Remove after smoke test & review
                        /*userId = CipherUtil.decrypt(userIdcookie.getValue(),
                                        PortalApiProperties.getProperty(PortalApiConstants.CSP_GATE_KEEPER_PROD_KEY));*/