String queryString = urlCrypt.decryptUrlSafe(secureParam);
String queryString = urlCrypt.decryptUrlSafe(secureParam);
@Override public String[] load() { String value = getCookieUtils().load(cookieKey); if (Strings.isEmpty(value) == false) { try { value = getCrypt().decryptUrlSafe(value); } catch (RuntimeException e) { logger.info( "Error decrypting login cookie: {}. The cookie will be deleted. Possible cause is that a session-relative encryption key was used to encrypt this cookie while this decryption attempt is happening in a different session, eg user coming back to the application after session expiration", cookieKey); getCookieUtils().remove(cookieKey); value = null; } return decode(value); } return null; }
@Override public String[] load() { String value = getCookieUtils().load(cookieKey); if (Strings.isEmpty(value) == false) { try { value = getCrypt().decryptUrlSafe(value); } catch (RuntimeException e) { logger.info( "Error decrypting login cookie: {}. The cookie will be deleted. Possible cause is that a session-relative encryption key was used to encrypt this cookie while this decryption attempt is happening in a different session, eg user coming back to the application after session expiration", cookieKey); getCookieUtils().remove(cookieKey); value = null; } return decode(value); } return null; }
try decryptedUrl = getCrypt().decryptUrlSafe(encryptedUrlString);
try decryptedUrl = getCrypt().decryptUrlSafe(encryptedUrlString);
decryptedValue = getCrypt().decryptUrlSafe(encryptedValue);
decryptedValue = getCrypt().decryptUrlSafe(encryptedValue);