public class ResponseType extends StatusResponseType
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>
Modifier and Type | Class and Description |
---|---|
static class |
ResponseType.RTChoiceType |
Modifier and Type | Field and Description |
---|---|
protected List<ResponseType.RTChoiceType> |
assertions |
consent, destination, extensions, id, issueInstant, issuer, status, version
inResponseTo, signature
Constructor and Description |
---|
ResponseType(StatusResponseType srt) |
ResponseType(String id,
XMLGregorianCalendar issueInstant) |
Modifier and Type | Method and Description |
---|---|
void |
addAssertion(int index,
ResponseType.RTChoiceType choice) |
void |
addAssertion(ResponseType.RTChoiceType choice)
Add an assertion
|
List<ResponseType.RTChoiceType> |
getAssertions()
Gets a read only list of assertions
|
void |
removeAssertion(ResponseType.RTChoiceType choice)
Remove an assertion
|
void |
replaceAssertion(String id,
ResponseType.RTChoiceType newAssertion)
Replace the first assertion with the passed assertion
|
getConsent, getDestination, getExtensions, getIssuer, getStatus, getVersion, setConsent, setDestination, setExtensions, setIssuer, setStatus
getID, getInResponseTo, getIssueInstant, getSignature, setInResponseTo, setSignature
protected List<ResponseType.RTChoiceType> assertions
public ResponseType(String id, XMLGregorianCalendar issueInstant)
public ResponseType(StatusResponseType srt)
public void addAssertion(ResponseType.RTChoiceType choice)
choice
- public void addAssertion(int index, ResponseType.RTChoiceType choice)
public void removeAssertion(ResponseType.RTChoiceType choice)
choice
- public void replaceAssertion(String id, ResponseType.RTChoiceType newAssertion)
id
- id of the old assertionnewAssertion
- public List<ResponseType.RTChoiceType> getAssertions()
Copyright © 2021 JBoss by Red Hat. All rights reserved.