@Override
    public boolean supports(final RegisteredService registeredService, final Service service) {
        val matched = SamlRegisteredService.class.isAssignableFrom(registeredService.getClass())
            && registeredService.getFriendlyName().equalsIgnoreCase(SamlRegisteredService.FRIENDLY_NAME);
        return matched && getSamlParameterValue(registeredService, service).isPresent();
    }
This is {@link SamlIdPServicesManagerRegisteredServiceLocator}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/services/SamlIdPServicesManagerRegisteredServiceLocator.java