Class AssertionType
java.lang.Object
eu.europa.esig.saml.jaxb.assertion.AssertionType
- All Implemented Interfaces:
Serializable
public class AssertionType extends Object implements Serializable
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="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>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected AdviceType
advice
protected ConditionsType
conditions
protected String
id
protected XMLGregorianCalendar
issueInstant
protected NameIDType
issuer
protected SignatureType
signature
protected List<StatementAbstractType>
statementOrAuthnStatementOrAuthzDecisionStatement
protected SubjectType
subject
protected String
version
-
Constructor Summary
Constructors Constructor Description AssertionType()
-
Method Summary
Modifier and Type Method Description AdviceType
getAdvice()
Gets the value of the advice 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.List<StatementAbstractType>
getStatementOrAuthnStatementOrAuthzDecisionStatement()
Gets the value of the statementOrAuthnStatementOrAuthzDecisionStatement 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.
-
Field Details
-
Constructor Details
-
AssertionType
public AssertionType()
-
-
Method Details
-
getIssuer
Gets the value of the issuer property.- Returns:
- possible object is
NameIDType
-
setIssuer
Sets the value of the issuer property.- Parameters:
value
- allowed object isNameIDType
-
getSignature
Gets the value of the signature property.- Returns:
- possible object is
SignatureType
-
setSignature
Sets the value of the signature property.- Parameters:
value
- allowed object isSignatureType
-
getSubject
Gets the value of the subject property.- Returns:
- possible object is
SubjectType
-
setSubject
Sets the value of the subject property.- Parameters:
value
- allowed object isSubjectType
-
getConditions
Gets the value of the conditions property.- Returns:
- possible object is
ConditionsType
-
setConditions
Sets the value of the conditions property.- Parameters:
value
- allowed object isConditionsType
-
getAdvice
Gets the value of the advice property.- Returns:
- possible object is
AdviceType
-
setAdvice
Sets the value of the advice property.- Parameters:
value
- allowed object isAdviceType
-
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
set
method 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
StatementAbstractType
AuthnStatementType
AuthzDecisionStatementType
AttributeStatementType
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value
- allowed object isString
-
getID
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getIssueInstant
Gets the value of the issueInstant property.- Returns:
- possible object is
XMLGregorianCalendar
-
setIssueInstant
Sets the value of the issueInstant property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-