public SingleSignOnService getIDPSingleSignOnService(final String binding) {
        val services = getIDPSSODescriptor().getSingleSignOnServices();
        for (val service : services) {
            if (service.getBinding().equals(binding)) {
                return service;
            }
        }
        throw new SAMLException("Identity provider has no single sign on service available for the selected profile "
            + binding);
    }
<p>getIDPSingleSignOnService.</p>

@param binding a {@link String} object
@return a {@link SingleSignOnService} object
pac4j-saml/src/main/java/org/pac4j/saml/context/SAML2MessageContext.java