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 Advice
advice
Advice of the assertion.private Conditions
conditions
Conditions of the assertion.private String
id
ID of the assertion.private Instant
issueInstant
Issue Instant of the assertion.private Issuer
issuer
Issuer of the assertion.private IndexedXMLObjectChildrenList<Statement>
statements
Statements of the assertion.private Subject
subject
Subject of the assertion.private SAMLVersion
version
SAML 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 protected
AssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Advice
getAdvice()
List<AttributeStatement>
getAttributeStatements()
List<AuthnStatement>
getAuthnStatements()
List<AuthzDecisionStatement>
getAuthzDecisionStatements()
Conditions
getConditions()
String
getID()
Instant
getIssueInstant()
Issuer
getIssuer()
List<XMLObject>
getOrderedChildren()
String
getSignatureReferenceID()
List<Statement>
getStatements()
List<Statement>
getStatements(QName typeOrName)
Subject
getSubject()
SAMLVersion
getVersion()
void
setAdvice(Advice newAdvice)
void
setConditions(Conditions newConditions)
void
setID(String newID)
void
setIssueInstant(Instant newIssueInstance)
void
setIssuer(Issuer newIssuer)
void
setSubject(Subject newSubject)
void
setVersion(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:
getVersion
in interfaceAssertion
-
setVersion
public void setVersion(SAMLVersion newVersion)
- Specified by:
setVersion
in interfaceAssertion
-
getIssueInstant
public Instant getIssueInstant()
- Specified by:
getIssueInstant
in interfaceAssertion
-
setIssueInstant
public void setIssueInstant(Instant newIssueInstance)
- Specified by:
setIssueInstant
in interfaceAssertion
-
getSubject
public Subject getSubject()
- Specified by:
getSubject
in interfaceAssertion
-
setSubject
public void setSubject(Subject newSubject)
- Specified by:
setSubject
in interfaceAssertion
-
getConditions
public Conditions getConditions()
- Specified by:
getConditions
in interfaceAssertion
-
setConditions
public void setConditions(Conditions newConditions)
- Specified by:
setConditions
in interfaceAssertion
-
getStatements
public List<Statement> getStatements()
- Specified by:
getStatements
in interfaceAssertion
-
getStatements
public List<Statement> getStatements(QName typeOrName)
- Specified by:
getStatements
in interfaceAssertion
-
getAuthnStatements
public List<AuthnStatement> getAuthnStatements()
- Specified by:
getAuthnStatements
in interfaceAssertion
-
getAuthzDecisionStatements
public List<AuthzDecisionStatement> getAuthzDecisionStatements()
- Specified by:
getAuthzDecisionStatements
in interfaceAssertion
-
getAttributeStatements
public List<AttributeStatement> getAttributeStatements()
- Specified by:
getAttributeStatements
in interfaceAssertion
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
-
-