public interface Response extends StatusResponse
Response
message element is used when a response consists
of a list of zero or more assertions that satisfy the request. It has the
complex type ResponseType
.
<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>
Modifier and Type | Method and Description |
---|---|
List<Assertion> |
getAssertion()
Returns
Assertion (s) of the response. |
List<EncryptedAssertion> |
getEncryptedAssertion()
Returns
EncryptedAssertion (s) of the response. |
void |
setAssertion(List<Assertion> value)
Sets Assertion(s) of the response.
|
void |
setEncryptedAssertion(List<EncryptedAssertion> value)
Sets
EncryptedAssertion (s) of the response. |
getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign, toXMLString, toXMLString
List<Assertion> getAssertion()
Assertion
(s) of the response.Assertion
(s) in the response.Response.setAssertion(List)
void setAssertion(List<Assertion> value) throws SAML2Exception
value
- List of new Assertion
(s).SAML2Exception
- if the object is immutable.Response.getAssertion()
List<EncryptedAssertion> getEncryptedAssertion()
EncryptedAssertion
(s) of the response.EncryptedAssertion
(s) in the response.Response.setEncryptedAssertion(List)
void setEncryptedAssertion(List<EncryptedAssertion> value) throws SAML2Exception
EncryptedAssertion
(s) of the response.value
- List of new EncryptedAssertion
(s).SAML2Exception
- if the object is immutable.Response.getEncryptedAssertion()
Copyright © 2010-2018, ForgeRock All Rights Reserved.