Package com.sun.identity.saml2.protocol
Interface Response
- 
- All Superinterfaces:
- StatusResponse,- XmlSerializable
 
 @SupportedAll public interface Response extends StatusResponse TheResponsemessage element is used when a response consists of a list of zero or more assertions that satisfy the request. It has the complex typeResponseType.<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>
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Assertion>getAssertion()ReturnsAssertion(s) of the response.List<EncryptedAssertion>getEncryptedAssertion()ReturnsEncryptedAssertion(s) of the response.voidsetAssertion(List<Assertion> value)Sets Assertion(s) of the response.voidsetEncryptedAssertion(List<EncryptedAssertion> value)SetsEncryptedAssertion(s) of the response.- 
Methods inherited from interface com.sun.identity.saml2.protocol.StatusResponsegetConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, sign
 - 
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializabletoDocumentFragment, toXMLString, toXMLString
 
- 
 
- 
- 
- 
Method Detail- 
getAssertionList<Assertion> getAssertion() ReturnsAssertion(s) of the response.- Returns:
- List of Assertion(s) in the response.
- See Also:
- setAssertion(List)
 
 - 
setAssertionvoid setAssertion(List<Assertion> value) throws SAML2Exception Sets Assertion(s) of the response.- Parameters:
- value- List of new- Assertion(s).
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getAssertion()
 
 - 
getEncryptedAssertionList<EncryptedAssertion> getEncryptedAssertion() ReturnsEncryptedAssertion(s) of the response.- Returns:
- List of EncryptedAssertion(s) in the response.
- See Also:
- setEncryptedAssertion(List)
 
 - 
setEncryptedAssertionvoid setEncryptedAssertion(List<EncryptedAssertion> value) throws SAML2Exception SetsEncryptedAssertion(s) of the response.- Parameters:
- value- List of new- EncryptedAssertion(s).
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getEncryptedAssertion()
 
 
- 
 
-