Class AssertionType
- java.lang.Object
-
- org.certificateservices.messages.saml2.assertion.jaxb.AssertionType
-
public class AssertionType extends java.lang.ObjectJava 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" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions" minOccurs="0"/> <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}Statement"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnStatement"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthzDecisionStatement"/> <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" /> <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AdviceTypeadviceprotected ConditionsTypeconditionsprotected java.lang.Stringidprotected javax.xml.datatype.XMLGregorianCalendarissueInstantprotected NameIDTypeissuerprotected SignatureTypesignatureprotected java.util.List<StatementAbstractType>statementOrAuthnStatementOrAuthzDecisionStatementprotected SubjectTypesubjectprotected java.lang.Stringversion
-
Constructor Summary
Constructors Constructor Description AssertionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdviceTypegetAdvice()Gets the value of the advice property.ConditionsTypegetConditions()Gets the value of the conditions property.java.lang.StringgetID()Gets the value of the id property.javax.xml.datatype.XMLGregorianCalendargetIssueInstant()Gets the value of the issueInstant property.NameIDTypegetIssuer()Gets the value of the issuer property.SignatureTypegetSignature()Gets the value of the signature property.java.util.List<StatementAbstractType>getStatementOrAuthnStatementOrAuthzDecisionStatement()Gets the value of the statementOrAuthnStatementOrAuthzDecisionStatement property.SubjectTypegetSubject()Gets the value of the subject property.java.lang.StringgetVersion()Gets the value of the version property.voidsetAdvice(AdviceType value)Sets the value of the advice property.voidsetConditions(ConditionsType value)Sets the value of the conditions property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetIssueInstant(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the issueInstant property.voidsetIssuer(NameIDType value)Sets the value of the issuer property.voidsetSignature(SignatureType value)Sets the value of the signature property.voidsetSubject(SubjectType value)Sets the value of the subject property.voidsetVersion(java.lang.String value)Sets the value of the version property.
-
-
-
Field Detail
-
issuer
protected NameIDType issuer
-
signature
protected SignatureType signature
-
subject
protected SubjectType subject
-
conditions
protected ConditionsType conditions
-
advice
protected AdviceType advice
-
statementOrAuthnStatementOrAuthzDecisionStatement
protected java.util.List<StatementAbstractType> statementOrAuthnStatementOrAuthzDecisionStatement
-
version
protected java.lang.String version
-
id
protected java.lang.String id
-
issueInstant
protected javax.xml.datatype.XMLGregorianCalendar issueInstant
-
-
Method Detail
-
getIssuer
public NameIDType getIssuer()
Gets the value of the issuer property.- Returns:
- possible object is
NameIDType
-
setIssuer
public void setIssuer(NameIDType value)
Sets the value of the issuer property.- Parameters:
value- allowed object isNameIDType
-
getSignature
public SignatureType getSignature()
Gets the value of the signature property.- Returns:
- possible object is
SignatureType
-
setSignature
public void setSignature(SignatureType value)
Sets the value of the signature property.- Parameters:
value- allowed object isSignatureType
-
getSubject
public SubjectType getSubject()
Gets the value of the subject property.- Returns:
- possible object is
SubjectType
-
setSubject
public void setSubject(SubjectType value)
Sets the value of the subject property.- Parameters:
value- allowed object isSubjectType
-
getConditions
public ConditionsType getConditions()
Gets the value of the conditions property.- Returns:
- possible object is
ConditionsType
-
setConditions
public void setConditions(ConditionsType value)
Sets the value of the conditions property.- Parameters:
value- allowed object isConditionsType
-
getAdvice
public AdviceType getAdvice()
Gets the value of the advice property.- Returns:
- possible object is
AdviceType
-
setAdvice
public void setAdvice(AdviceType value)
Sets the value of the advice property.- Parameters:
value- allowed object isAdviceType
-
getStatementOrAuthnStatementOrAuthzDecisionStatement
public java.util.List<StatementAbstractType> getStatementOrAuthnStatementOrAuthzDecisionStatement()
Gets the value of the statementOrAuthnStatementOrAuthzDecisionStatement property.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
setmethod for the statementOrAuthnStatementOrAuthzDecisionStatement property.For example, to add a new item, do as follows:
getStatementOrAuthnStatementOrAuthzDecisionStatement().add(newItem);Objects of the following type(s) are allowed in the list
StatementAbstractTypeAuthnStatementTypeAuthzDecisionStatementTypeAttributeStatementType
-
getVersion
public java.lang.String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(java.lang.String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getID
public java.lang.String getID()
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
public void setID(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getIssueInstant
public javax.xml.datatype.XMLGregorianCalendar getIssueInstant()
Gets the value of the issueInstant property.- Returns:
- possible object is
XMLGregorianCalendar
-
setIssueInstant
public void setIssueInstant(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the issueInstant property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
-