public class AssertionType extends Object
Java class for AssertionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AssertionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Issuer"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Advice" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnStatement"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeStatement"/>
</choice>
</sequence>
<attribute name="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="IssueInstant" use="required" type="{http://www.rsa.com/names/2010/04/std-prof/SAML2.0}UTCTime" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AdviceType |
advice |
protected List<StatementAbstractType> |
authnStatementOrAttributeStatement |
protected ConditionsType |
conditions |
protected String |
id |
protected XMLGregorianCalendar |
issueInstant |
protected NameIDType |
issuer |
protected SignatureType |
signature |
protected SubjectType |
subject |
protected String |
version |
| Constructor and Description |
|---|
AssertionType() |
| Modifier and Type | Method and Description |
|---|---|
AdviceType |
getAdvice()
Gets the value of the advice property.
|
List<StatementAbstractType> |
getAuthnStatementOrAttributeStatement()
Gets the value of the authnStatementOrAttributeStatement property.
|
ConditionsType |
getConditions()
Gets the value of the conditions property.
|
String |
getID()
Gets the value of the id property.
|
XMLGregorianCalendar |
getIssueInstant()
Gets the value of the issueInstant property.
|
NameIDType |
getIssuer()
Gets the value of the issuer property.
|
SignatureType |
getSignature()
Gets the value of the signature property.
|
SubjectType |
getSubject()
Gets the value of the subject property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setAdvice(AdviceType value)
Sets the value of the advice property.
|
void |
setConditions(ConditionsType value)
Sets the value of the conditions property.
|
void |
setID(String value)
Sets the value of the id property.
|
void |
setIssueInstant(XMLGregorianCalendar value)
Sets the value of the issueInstant property.
|
void |
setIssuer(NameIDType value)
Sets the value of the issuer property.
|
void |
setSignature(SignatureType value)
Sets the value of the signature property.
|
void |
setSubject(SubjectType value)
Sets the value of the subject property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected NameIDType issuer
protected SignatureType signature
protected SubjectType subject
protected ConditionsType conditions
protected AdviceType advice
protected List<StatementAbstractType> authnStatementOrAttributeStatement
protected String version
protected String id
protected XMLGregorianCalendar issueInstant
public NameIDType getIssuer()
NameIDTypepublic void setIssuer(NameIDType value)
value - allowed object is
NameIDTypepublic SignatureType getSignature()
SignatureTypepublic void setSignature(SignatureType value)
value - allowed object is
SignatureTypepublic SubjectType getSubject()
SubjectTypepublic void setSubject(SubjectType value)
value - allowed object is
SubjectTypepublic ConditionsType getConditions()
ConditionsTypepublic void setConditions(ConditionsType value)
value - allowed object is
ConditionsTypepublic AdviceType getAdvice()
AdviceTypepublic void setAdvice(AdviceType value)
value - allowed object is
AdviceTypepublic List<StatementAbstractType> getAuthnStatementOrAttributeStatement()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the authnStatementOrAttributeStatement property.
For example, to add a new item, do as follows:
getAuthnStatementOrAttributeStatement().add(newItem);
Objects of the following type(s) are allowed in the list
AuthnStatementType
AttributeStatementType
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic void setID(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getIssueInstant()
XMLGregorianCalendarpublic void setIssueInstant(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarCopyright © 2016. All rights reserved.