public static CasCookieBuilder buildCookieRetrievingGenerator(final CookieProperties cookie,
                                                                  final CookieValueManager cookieValueManager) {
        val context = buildCookieGenerationContext(cookie);
        return buildCookieRetrievingGenerator(cookieValueManager, context);
    }
Build cookie retrieving generator.

@param cookie             the cookie
@param cookieValueManager the cookie value manager
@return the cookie retrieving cookie generator
core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/CookieUtils.java