@Override
    public void trackInterrupt(final RequestContext requestContext, final InterruptResponse response) throws Throwable {
        val httpRequest = WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext);
        val httpResponse = WebUtils.getHttpServletResponseFromExternalWebflowContext(requestContext);
        val authentication = WebUtils.getAuthentication(requestContext);
        authentication.addAttribute(AUTHENTICATION_ATTRIBUTE_FINALIZED_INTERRUPT, Boolean.TRUE);
        val cookieValue = EncodingUtils.encodeBase64(MAPPER.writeValueAsString(response));
        LOGGER.debug("Storing interrupt response as base64 cookie [{}]", cookieValue);
        val cookie = casCookieBuilder.addCookie(httpRequest, httpResponse, cookieValue);
        LOGGER.debug("Added interrupt cookie [{}] with value [{}]", cookie.getName(), cookie.getValue());
    }
This is {@link SimpleInterruptTrackingEngine}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-interrupt-core/src/main/java/org/apereo/cas/interrupt/SimpleInterruptTrackingEngine.java