From: Kotta, Shireesha (sk434m) Date: Fri, 12 Oct 2018 21:11:51 +0000 (-0400) Subject: Portal integration X-Git-Tag: 1.3.0~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ab67c5777be4ec71fa0e6a7b376721bf777dc614;p=sdc.git Portal integration Issue-ID: SDC-1749 Update SDC Portal integration decryption for userId Change-Id: Ibaa48057f272955e9711e48f4e74d62df2725b05 Signed-off-by: Kotta, Shireesha (sk434m) --- diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java index 56a41988a1..1aeb23e49d 100644 --- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java +++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java @@ -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));*/