public SingleLogoutService getSingleLogoutService(final String binding) {
        return getSingleLogoutServices()
            .stream()
            .filter(acs -> binding.equalsIgnoreCase(acs.getBinding()))
            .filter(acs -> StringUtils.isNotBlank(acs.getLocation()) || StringUtils.isNotBlank(acs.getResponseLocation()))
            .findFirst()
            .orElse(null);
    }
Gets single logout service for the requested binding.

@param binding the binding
@return the single logout service or null
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/services/idp/metadata/SamlRegisteredServiceMetadataAdaptor.java