org.picketlink.identity.federation.saml.v2.protocol
Class ResponseType
java.lang.Object
org.picketlink.identity.federation.saml.common.CommonResponseType
org.picketlink.identity.federation.saml.v2.protocol.StatusResponseType
org.picketlink.identity.federation.saml.v2.protocol.ResponseType
- All Implemented Interfaces:
- Serializable, SAML2Object
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>
- See Also:
- Serialized Form
Methods inherited from class org.picketlink.identity.federation.saml.v2.protocol.StatusResponseType |
getConsent, getDestination, getExtensions, getIssuer, getStatus, getVersion, setConsent, setDestination, setExtensions, setIssuer, setStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
assertions
protected List<ResponseType.RTChoiceType> assertions
ResponseType
public ResponseType(String id,
XMLGregorianCalendar issueInstant)
ResponseType
public ResponseType(StatusResponseType srt)
addAssertion
public void addAssertion(ResponseType.RTChoiceType choice)
- Add an assertion
- Parameters:
choice
-
removeAssertion
public void removeAssertion(ResponseType.RTChoiceType choice)
- Remove an assertion
- Parameters:
choice
-
replaceAssertion
public void replaceAssertion(String id,
ResponseType.RTChoiceType newAssertion)
- Replace the first assertion with the passed assertion
- Parameters:
id
- id of the old assertionnewAssertion
-
getAssertions
public List<ResponseType.RTChoiceType> getAssertions()
- Gets a read only list of assertions
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.