public List<String> getAssertionConsumerServiceLocations(final String binding) {
        return getAssertionConsumerServices()
            .stream()
            .filter(acs -> Objects.nonNull(acs) && Objects.nonNull(acs.getBinding()))
            .filter(acs -> acs.getBinding().equalsIgnoreCase(binding))
            .map(acs -> StringUtils.defaultIfBlank(acs.getResponseLocation(), acs.getLocation()))
            .filter(StringUtils::isNotBlank)
            .collect(Collectors.toList());
    }
Get locations of all assertion consumer services for the given binding.

@param binding the binding
@return the assertion consumer service
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/services/idp/metadata/SamlRegisteredServiceMetadataAdaptor.java