public static void configureCookiePath(final RequestContext context, final CasCookieBuilder cookieBuilder) {
        val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
        configureCookiePath(request, cookieBuilder);
    }
Configure cookie path.

@param context       the context
@param cookieBuilder the cookie builder
core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/CookieUtils.java