@Override
    protected Event doExecuteInternal(final RequestContext context) {
        val request = WebUtils.getHttpServletRequestFromExternalWebflowContext(context);
        LOGGER.trace("Checking request content type [{}] against [{}]", request.getContentType(), this.contentType);
        val requestContentType = request.getContentType();
        if (StringUtils.isNotBlank(requestContentType) && RegexUtils.find(this.contentType, requestContentType)) {
            LOGGER.debug("Authentication request via type [{}] is not web-based", this.contentType);
            return eventFactory.no(this);
        }
        LOGGER.debug("Authenticated request is identified as web-based via type [{}]", requestContentType);
        return eventFactory.yes(this);
    }
This is {@link CheckWebAuthenticationRequestAction}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/actions/CheckWebAuthenticationRequestAction.java