summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2018-04-12 13:51:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-12 13:51:03 +0000
commit71328de6cef34f1283a2f2468c7eabdb2c38fea6 (patch)
tree7a63726f108c66671f3020e703cc46d03d0a3500 /ecomp-sdk/epsdk-app-os
parentd8895e0b035769743c5c90d71bd021a04f26e6c3 (diff)
parent91406d97b3155226f7cd38bf17ef671243c85a6b (diff)
Merge "Change decryption algorithm"
Diffstat (limited to 'ecomp-sdk/epsdk-app-os')
-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;