public class AssertionImpl extends AbstractSignableSAMLObject implements Assertion
Assertion
statement.Modifier and Type | Field and Description |
---|---|
private Advice |
advice
(Possibly null) Singleton object version of the
Advice element. |
private Conditions |
conditions
(Possibly null) Singleton object version of the
Conditions element. |
private String |
id
The
AssertionID attrribute. |
private org.joda.time.DateTime |
issueInstant
Object version of the
IssueInstant attribute. |
private String |
issuer
Object version of the
Issuer attribute. |
private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<Statement> |
statements
Object representation of all the
Statement elements. |
private SAMLVersion |
version
SAML version of this assertion.
|
ASSERTIONID_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_NAME, ISSUER_ATTRIB_NAME, MAJORVERSION_ATTRIB_NAME, MINORVERSION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AssertionImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Advice |
getAdvice() |
List<AttributeStatement> |
getAttributeStatements() |
List<AuthenticationStatement> |
getAuthenticationStatements() |
List<AuthorizationDecisionStatement> |
getAuthorizationDecisionStatements() |
Conditions |
getConditions() |
String |
getID() |
org.joda.time.DateTime |
getIssueInstant() |
String |
getIssuer() |
int |
getMajorVersion() |
int |
getMinorVersion() |
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
String |
getSignatureReferenceID() |
List<Statement> |
getStatements() |
List<Statement> |
getStatements(QName typeOrName) |
List<SubjectStatement> |
getSubjectStatements() |
void |
setAdvice(Advice adv) |
void |
setConditions(Conditions c) |
void |
setID(String newID) |
void |
setIssueInstant(org.joda.time.DateTime instant) |
void |
setIssuer(String iss) |
void |
setVersion(SAMLVersion newVersion) |
equals, hashCode, prepareForAssignment, setSignature
getSignature, isSigned
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSignature, isSigned, setSignature
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
private String id
AssertionID
attrribute.private SAMLVersion version
private String issuer
Issuer
attribute.private org.joda.time.DateTime issueInstant
IssueInstant
attribute.private Conditions conditions
Conditions
element.private Advice advice
Advice
element.private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<Statement> statements
Statement
elements.protected AssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic int getMajorVersion()
getMajorVersion
in interface Assertion
public int getMinorVersion()
getMinorVersion
in interface Assertion
public void setVersion(SAMLVersion newVersion)
setVersion
in interface Assertion
public org.joda.time.DateTime getIssueInstant()
getIssueInstant
in interface Assertion
public void setIssueInstant(org.joda.time.DateTime instant)
setIssueInstant
in interface Assertion
public Conditions getConditions()
getConditions
in interface Assertion
public void setConditions(Conditions c)
setConditions
in interface Assertion
public List<Statement> getStatements()
getStatements
in interface Assertion
public List<Statement> getStatements(QName typeOrName)
getStatements
in interface Assertion
public List<SubjectStatement> getSubjectStatements()
getSubjectStatements
in interface Assertion
public List<AuthenticationStatement> getAuthenticationStatements()
getAuthenticationStatements
in interface Assertion
public List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
getAuthorizationDecisionStatements
in interface Assertion
public List<AttributeStatement> getAttributeStatements()
getAttributeStatements
in interface Assertion
public String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.core.xml.XMLObject
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.