protected boolean evaluateAdaptiveAuthenticationPolicy(final RequestContext requestContext) throws Throwable {
        val agent = WebUtils.getHttpServletRequestUserAgentFromRequestContext(requestContext);
        val geoLocation = WebUtils.getHttpServletRequestGeoLocationFromRequestContext(requestContext);
        return adaptiveAuthenticationPolicy.isAuthenticationRequestAllowed(requestContext, agent, geoLocation);
    }
This is {@link AbstractAuthenticationAction}.

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