Class SAML2Utils

java.lang.Object
com.sun.identity.saml2.common.SAML2SDKUtils
com.sun.identity.saml2.common.SAML2Utils

@Supported public class SAML2Utils extends SAML2SDKUtils
The SAML2Utils contains utility methods for SAML 2.0 implementation.
  • Method Details

    • getSAML2MetaManager

      @Supported public static com.sun.identity.saml2.meta.SAML2MetaManager getSAML2MetaManager()
      Returns an instance of SAML2MetaManger.
      Returns:
      Instance of SAML2MetaManager
    • getSAML2MetaManagerWithToken

      @Supported public static com.sun.identity.saml2.meta.SAML2MetaManager getSAML2MetaManagerWithToken(Object token) throws com.sun.identity.saml2.meta.SAML2MetaException
      Returns an instance of SAML2MetaManger.
      Returns:
      Instance of SAML2MetaManager
      Throws:
      com.sun.identity.saml2.meta.SAML2MetaException
    • getReverseProxyUrl

      @Supported public static String getReverseProxyUrl(String realm, String idpEntityId)
      Retrieves the reverse proxy URL configured for the specified IDP. If no reverse proxy URL is set, an empty string will be returned.
      Parameters:
      realm - Realm under which the entity resides.
      idpEntityId - Entity ID of the hosted IDP.
      Returns:
      The reverse proxy URL.