@Override
    public String obtainCookieValue(final String cookie, final HttpServletRequest request) {
        val decoded = determineCipherExecutor(request).decode(cookie, ArrayUtils.EMPTY_OBJECT_ARRAY);
        if (decoded == null) {
            LOGGER.trace("Could not decode cookie value [{}] for cookie", cookie);
            return null;
        }
        val cookieValue = decoded.toString();
        LOGGER.trace("Decoded cookie value is [{}]", cookieValue);
        if (StringUtils.isBlank(cookieValue)) {
            LOGGER.trace("Retrieved decoded cookie value is blank. Failed to decode cookie");
            return null;
        }

        return obtainValueFromCompoundCookie(cookieValue, request);
    }
Provides basic encryption/decryption support for cookie values.

@author Daniel Frett
@since 5.3.0
core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/mgmr/EncryptedCookieValueManager.java