@Override
    protected Event doExecuteInternal(final RequestContext context) {
        val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
        val ticketGrantingTicketId = ticketGrantingTicketCookieGenerator.retrieveCookieValue(request);

        val initialService = casProperties.getSso().getServices().getRequiredServicePattern();
        if (StringUtils.isNotBlank(initialService)) {
            val initialServicePattern = RegexUtils.createPattern(initialService);
            enforceInitialMandatoryService(context, ticketGrantingTicketId, initialServicePattern);
        }
        return success();
    }
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/VerifyRequiredServiceAction.java