summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-04-11 14:58:12 -0400
committerst782s <statta@research.att.com>2018-04-11 14:58:12 -0400
commit3fa57a0595442f9d17d85ad50222770db397c834 (patch)
tree17e1a7f9d9a3532334ed7dee1e63ff7cf1fdc90c
parentd8c81e748f1db2fbd2bdd810671d90894af35d69 (diff)
Change decryption algorithm
Issue-ID: PORTAL-252 Change-Id: I6d6c3aa976c5548ab3c37b2e14dfe004e222a456 Signed-off-by: st782s <statta@research.att.com>
-rw-r--r--ecomp-sdk/epsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java b/ecomp-sdk/epsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java
index b0826f68..729cfd1f 100644
--- a/ecomp-sdk/epsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java
+++ b/ecomp-sdk/epsdk-app-os/src/main/java/org/onap/portalapp/login/LoginStrategyImpl.java
@@ -103,7 +103,7 @@ public class LoginStrategyImpl extends LoginStrategy {
if (!SystemProperties.containsProperty(SystemProperties.Decryption_Key))
throw new IllegalStateException("Failed to find property " + SystemProperties.Decryption_Key);
final String decryptionKey = SystemProperties.getProperty(SystemProperties.Decryption_Key);
- userId = CipherUtil.decryptPKC(cookieValue, decryptionKey);
+ userId = CipherUtil.decrypt(cookieValue, decryptionKey);
logger.debug(EELFLoggerDelegate.debugLogger, "getUserIdFromCookie: decrypted as {}", userId);
}
return userId;