Class JBossSAMLAuthnResponseFactory
java.lang.Object
org.keycloak.saml.processing.core.saml.v2.factories.JBossSAMLAuthnResponseFactory
Factory for the SAML v2 Authn Response
- Since:
- Dec 9, 2008
- Author:
- Anil.Saldhana@redhat.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseType
createResponseType
(String ID, IssuerInfoHolder issuerInfo, AssertionType assertionType) Create a Response Typestatic ResponseType
createResponseType
(String ID, IssuerInfoHolder issuerInfo, Element encryptedAssertion) Create a Response Typestatic StatusType
createStatusType
(String statusCodeURI) Create a StatusType given the status code uristatic StatusType
createStatusTypeForResponder
(String statusCodeURI) Create aStatusType
with a top-levelorg.picketlink.common.constants.JBossSAMLURIConstants.STATUS_RESPONDER
and a second-level code reflecting the givenstatusCodeURI
.
-
Constructor Details
-
JBossSAMLAuthnResponseFactory
public JBossSAMLAuthnResponseFactory()
-
-
Method Details
-
createStatusType
Create a StatusType given the status code uri- Parameters:
statusCodeURI
-- Returns:
-
createStatusTypeForResponder
Create a
StatusType
with a top-levelorg.picketlink.common.constants.JBossSAMLURIConstants.STATUS_RESPONDER
and a second-level code reflecting the givenstatusCodeURI
.- 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 DOMElement
that represents an encrypted assertion- Returns:
- Throws:
ConfigurationException
-