code: @Override
      protected boolean isEndpointSupported(SingleSignOnService endpoint) throws MetadataProviderException {
          return
              SAML2_POST_BINDING_URI.equals(endpoint.getBinding()) ||
              SAML2_REDIRECT_BINDING_URI.equals(endpoint.getBinding());
      }
docs: Determines whether given SingleSignOn service can be used together with this profile. Bindings POST, Artifact
  and Redirect are supported for WebSSO.
  
  @param endpoint endpoint
  @return true if endpoint is supported
  @throws MetadataProviderException in case system can't verify whether endpoint is supported or not