@Override
    public boolean supports(final SingleSignOnParticipationRequest ssoRequest) {
        val registeredService = getRegisteredService(ssoRequest);
        if (registeredService == null) {
            return false;
        }
        val authenticationPolicy = registeredService.getAuthenticationPolicy();
        LOGGER.debug("Evaluating authentication policy [{}] for [{}]", authenticationPolicy, registeredService.getName());
        return authenticationPolicy != null && authenticationPolicy.getCriteria() != null;
    }
This is {@link RegisteredServiceAuthenticationPolicySingleSignOnParticipationStrategy}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/authentication/RegisteredServiceAuthenticationPolicySingleSignOnParticipationStrategy.java