Class IDPMetadataDescriptor

java.lang.Object
org.keycloak.protocol.saml.IDPMetadataDescriptor

public class IDPMetadataDescriptor extends Object
Version:
$Revision: 1 $
  • Constructor Details

    • IDPMetadataDescriptor

      public IDPMetadataDescriptor()
  • Method Details

    • getIDPDescriptor

      public static String getIDPDescriptor(URI loginPostEndpoint, URI loginRedirectEndpoint, URI logoutEndpoint, URI artifactResolutionService, String entityId, boolean wantAuthnRequestsSigned, List<Element> signingCerts) throws org.keycloak.saml.common.exceptions.ProcessingException
      Throws:
      org.keycloak.saml.common.exceptions.ProcessingException
    • getIDPDescriptor

      public static String getIDPDescriptor(org.keycloak.crypto.KeyWrapper keyWrapper, org.keycloak.saml.SignatureAlgorithm sigAlg, URI loginPostEndpoint, URI loginRedirectEndpoint, URI logoutEndpoint, URI artifactResolutionService, String entityId, boolean wantAuthnRequestsSigned, List<Element> signingCerts) throws org.keycloak.saml.common.exceptions.ProcessingException
      Throws:
      org.keycloak.saml.common.exceptions.ProcessingException
    • getIDPDescriptor

      public static String getIDPDescriptor(org.keycloak.crypto.KeyWrapper keyWrapper, org.keycloak.saml.SignatureAlgorithm sigAlg, URI loginPostEndpoint, URI loginRedirectEndpoint, URI logoutEndpoint, URI artifactResolutionService, String entityId, boolean wantAuthnRequestsSigned, List<Element> signingCerts, Long expiration) throws org.keycloak.saml.common.exceptions.ProcessingException
      Throws:
      org.keycloak.saml.common.exceptions.ProcessingException
    • buildKeyInfoElement

      public static Element buildKeyInfoElement(String keyName, String pemEncodedCertificate) throws ParserConfigurationException
      Throws:
      ParserConfigurationException