Class AssertionType
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.AssertionType
-
- Direct Known Subclasses:
Assertion
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" 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="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AdviceTypeadviceprotected ConditionsTypeconditionsprotected Stringidprotected XMLGregorianCalendarissueInstantprotected NameIDTypeissuerprotected SignatureTypesignatureprotected List<StatementAbstractType>statementOrAuthnStatementOrAuthzDecisionStatementprotected SubjectTypesubjectprotected 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.StringgetID()Gets the value of the id property.XMLGregorianCalendargetIssueInstant()Gets the value of the issueInstant property.NameIDTypegetIssuer()Gets the value of the issuer property.SignatureTypegetSignature()Gets the value of the signature property.List<StatementAbstractType>getStatementOrAuthnStatementOrAuthzDecisionStatement()Gets the value of the statementOrAuthnStatementOrAuthzDecisionStatement property.SubjectTypegetSubject()Gets the value of the subject property.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(String value)Sets the value of the id property.voidsetIssueInstant(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(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 List<StatementAbstractType> statementOrAuthnStatementOrAuthzDecisionStatement
-
id
protected String id
-
issueInstant
protected XMLGregorianCalendar issueInstant
-
version
protected String version
-
-
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 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
AuthzDecisionStatementTypeAttributeStatementTypeStatementAbstractTypeAuthnStatementType
-
setID
public void setID(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getIssueInstant
public XMLGregorianCalendar getIssueInstant()
Gets the value of the issueInstant property.- Returns:
- possible object is
XMLGregorianCalendar
-
setIssueInstant
public void setIssueInstant(XMLGregorianCalendar value)
Sets the value of the issueInstant property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
-