Class JBossSAMLAuthnResponseFactory

java.lang.Object
org.keycloak.saml.processing.core.saml.v2.factories.JBossSAMLAuthnResponseFactory

public class JBossSAMLAuthnResponseFactory extends Object
Factory for the SAML v2 Authn Response
Since:
Dec 9, 2008
Author:
Anil.Saldhana@redhat.com
  • Constructor Details

    • JBossSAMLAuthnResponseFactory

      public JBossSAMLAuthnResponseFactory()
  • Method Details

    • createStatusType

      public static StatusType createStatusType(String statusCodeURI)
      Create a StatusType given the status code uri
      Parameters:
      statusCodeURI -
      Returns:
    • createStatusTypeForResponder

      public static StatusType createStatusTypeForResponder(String statusCodeURI)

      Create a StatusType with a top-level org.picketlink.common.constants.JBossSAMLURIConstants.STATUS_RESPONDER and a second-level code reflecting the given statusCodeURI.

      Parameters:
      statusCodeURI - The second-level code.
      Returns:
    • createResponseType

      public static ResponseType createResponseType(String ID, IssuerInfoHolder issuerInfo, AssertionType assertionType)
      Create a Response Type
      Parameters:
      ID -
      issuerInfo -
      assertionType -
      Returns:
      Throws:
      ConfigurationException
    • createResponseType

      public static ResponseType createResponseType(String ID, IssuerInfoHolder issuerInfo, Element encryptedAssertion)
      Create a Response Type
      Parameters:
      ID -
      issuerInfo -
      encryptedAssertion - a DOM Element that represents an encrypted assertion
      Returns:
      Throws:
      ConfigurationException