Class AssertionImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.AbstractSignableXMLObject
-
- org.opensaml.saml.common.AbstractSignableSAMLObject
-
- org.opensaml.saml.saml2.core.impl.AssertionImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,Assertion,Evidentiary,SignableXMLObject
public class AssertionImpl extends AbstractSignableSAMLObject implements Assertion
A concrete implementation ofAssertion.
-
-
Field Summary
Fields Modifier and Type Field Description private AdviceadviceAdvice of the assertion.private ConditionsconditionsConditions of the assertion.private StringidID of the assertion.private InstantissueInstantIssue Instant of the assertion.private IssuerissuerIssuer of the assertion.private IndexedXMLObjectChildrenList<Statement>statementsStatements of the assertion.private SubjectsubjectSubject of the assertion.private SAMLVersionversionSAML Version of the assertion.-
Fields inherited from interface org.opensaml.saml.saml2.core.Assertion
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_QNAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTRIB_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvicegetAdvice()List<AttributeStatement>getAttributeStatements()List<AuthnStatement>getAuthnStatements()List<AuthzDecisionStatement>getAuthzDecisionStatements()ConditionsgetConditions()StringgetID()InstantgetIssueInstant()IssuergetIssuer()List<XMLObject>getOrderedChildren()StringgetSignatureReferenceID()List<Statement>getStatements()List<Statement>getStatements(QName typeOrName)SubjectgetSubject()SAMLVersiongetVersion()voidsetAdvice(Advice newAdvice)voidsetConditions(Conditions newConditions)voidsetID(String newID)voidsetIssueInstant(Instant newIssueInstance)voidsetIssuer(Issuer newIssuer)voidsetSubject(Subject newSubject)voidsetVersion(SAMLVersion newVersion)-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
version
private SAMLVersion version
SAML Version of the assertion.
-
issueInstant
private Instant issueInstant
Issue Instant of the assertion.
-
id
private String id
ID of the assertion.
-
issuer
private Issuer issuer
Issuer of the assertion.
-
subject
private Subject subject
Subject of the assertion.
-
conditions
private Conditions conditions
Conditions of the assertion.
-
advice
private Advice advice
Advice of the assertion.
-
statements
private final IndexedXMLObjectChildrenList<Statement> statements
Statements of the assertion.
-
-
Constructor Detail
-
AssertionImpl
protected AssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getVersion
public SAMLVersion getVersion()
- Specified by:
getVersionin interfaceAssertion
-
setVersion
public void setVersion(SAMLVersion newVersion)
- Specified by:
setVersionin interfaceAssertion
-
getIssueInstant
public Instant getIssueInstant()
- Specified by:
getIssueInstantin interfaceAssertion
-
setIssueInstant
public void setIssueInstant(Instant newIssueInstance)
- Specified by:
setIssueInstantin interfaceAssertion
-
getSubject
public Subject getSubject()
- Specified by:
getSubjectin interfaceAssertion
-
setSubject
public void setSubject(Subject newSubject)
- Specified by:
setSubjectin interfaceAssertion
-
getConditions
public Conditions getConditions()
- Specified by:
getConditionsin interfaceAssertion
-
setConditions
public void setConditions(Conditions newConditions)
- Specified by:
setConditionsin interfaceAssertion
-
getStatements
public List<Statement> getStatements()
- Specified by:
getStatementsin interfaceAssertion
-
getStatements
public List<Statement> getStatements(QName typeOrName)
- Specified by:
getStatementsin interfaceAssertion
-
getAuthnStatements
public List<AuthnStatement> getAuthnStatements()
- Specified by:
getAuthnStatementsin interfaceAssertion
-
getAuthzDecisionStatements
public List<AuthzDecisionStatement> getAuthzDecisionStatements()
- Specified by:
getAuthzDecisionStatementsin interfaceAssertion
-
getAttributeStatements
public List<AttributeStatement> getAttributeStatements()
- Specified by:
getAttributeStatementsin interfaceAssertion
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-