Issue-ID: PORTAL-252
Change-Id: I6d6c3aa976c5548ab3c37b2e14dfe004e222a456
Signed-off-by: st782s <statta@research.att.com>
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;