Class ResponseType
java.lang.Object
org.keycloak.dom.saml.common.CommonResponseType
org.keycloak.dom.saml.v2.protocol.StatusResponseType
org.keycloak.dom.saml.v2.protocol.ResponseType
- All Implemented Interfaces:
Serializable,SAML2Object
Java class for ResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResponseType">
<complexContent>
<extension base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
</choice>
</extension>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.keycloak.dom.saml.v2.protocol.StatusResponseType
consent, destination, extensions, id, issueInstant, issuer, status, versionFields inherited from class org.keycloak.dom.saml.common.CommonResponseType
inResponseTo, signature -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an assertionGets a read only list of assertionsvoidRemove an assertionvoidreplaceAssertion(String id, ResponseType.RTChoiceType newAssertion) Replace the first assertion with the passed assertionMethods inherited from class org.keycloak.dom.saml.v2.protocol.StatusResponseType
getConsent, getDestination, getExtensions, getIssuer, getStatus, getVersion, setConsent, setDestination, setExtensions, setIssuer, setStatusMethods inherited from class org.keycloak.dom.saml.common.CommonResponseType
getID, getInResponseTo, getIssueInstant, getSignature, setInResponseTo, setSignature
-
Field Details
-
assertions
-
-
Constructor Details
-
ResponseType
-
ResponseType
-
-
Method Details
-
addAssertion
Add an assertion- Parameters:
choice-
-
removeAssertion
Remove an assertion- Parameters:
choice-
-
replaceAssertion
Replace the first assertion with the passed assertion- Parameters:
id- id of the old assertionnewAssertion-
-
getAssertions
Gets a read only list of assertions
-