protected String configureWebflowForTicketGrantingTicket(final RequestContext context) {
        val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
        val ticketGrantingTicketId = ticketGrantingTicketCookieGenerator.retrieveCookieValue(request);
        LOGGER.trace("Retrieved the ticket-granting ticket identifier in the login webflow: [{}]", ticketGrantingTicketId);
        val ticket = ticketRegistrySupport.getTicketGrantingTicket(ticketGrantingTicketId);
        LOGGER.trace("Retrieved the ticket-granting ticket in the login webflow: [{}]", ticket);
        if (ticket != null) {
            WebUtils.putTicketGrantingTicketInScopes(context, ticket.getId());
            return ticket.getId();
        }
        clearTicketGrantingCookieFromContext(context);
        return null;
    }
Class to automatically set the paths for the CookieGenerators.
<p>
Note: This is technically not thread-safe, but because its overriding with a
constant value it doesn't matter.
<p>
Note: As of CAS 3.1, this is a required class that retrieves and exposes the
values in the two cookies for subclasses to use.

@author Scott Battaglia
@since 3.1
support/cas-server-support-actions-core/src/main/java/org/apereo/cas/web/flow/login/InitialFlowSetupAction.java