public class AssertionImpl extends AbstractSignableSAMLObject implements Assertion
Assertion
.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTRIB_NAME
Modifier | Constructor and Description |
---|---|
protected |
AssertionImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Advice |
getAdvice()
Gets the Advice for this assertion.
|
List<AttributeStatement> |
getAttributeStatements()
Gets the list of AttributeStatement attached to this assertion.
|
List<AuthnStatement> |
getAuthnStatements()
Gets the list of AuthnStatements attached to this assertion.
|
List<AuthzDecisionStatement> |
getAuthzDecisionStatements()
Gets the list of AuthzDecisionStatements attached to this assertion.
|
Conditions |
getConditions()
Gets the Conditions placed on this assertion.
|
String |
getID()
Sets the ID of this assertion.
|
org.joda.time.DateTime |
getIssueInstant()
Gets the issue instance of this assertion.
|
Issuer |
getIssuer()
Gets the Issuer of this assertion.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
|
List<Statement> |
getStatements()
Gets the list of statements attached to this assertion.
|
List<Statement> |
getStatements(QName typeOrName)
Gets the list of statements attached to this assertion that match a particular QName.
|
Subject |
getSubject()
Gets the Subject of this assertion.
|
SAMLVersion |
getVersion()
Gets the SAML Version of this assertion.
|
void |
setAdvice(Advice newAdvice)
Sets the Advice for this assertion.
|
void |
setConditions(Conditions newConditions)
Sets the Conditions placed on this assertion.
|
void |
setID(String newID)
Sets the ID of this assertion.
|
void |
setIssueInstant(org.joda.time.DateTime newIssueInstance)
Sets the issue instance of this assertion.
|
void |
setIssuer(Issuer newIssuer)
Sets the Issuer of this assertion.
|
void |
setSubject(Subject newSubject)
Sets the Subject of this assertion.
|
void |
setVersion(SAMLVersion newVersion)
Sets the SAML Version of this assertion.
|
equals, prepareForAssignment, setSignature
deregisterValidator, getValidators, registerValidator, validate, validateChildren
getSignature, isSigned
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSignature, isSigned, setSignature
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
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 SAMLVersion getVersion()
getVersion
in interface Assertion
public void setVersion(SAMLVersion newVersion)
setVersion
in interface Assertion
newVersion
- the SAML Version of this assertionpublic org.joda.time.DateTime getIssueInstant()
getIssueInstant
in interface Assertion
public void setIssueInstant(org.joda.time.DateTime newIssueInstance)
setIssueInstant
in interface Assertion
newIssueInstance
- the issue instance of this assertionpublic String getID()
public void setID(String newID)
public Issuer getIssuer()
public void setIssuer(Issuer newIssuer)
public Subject getSubject()
getSubject
in interface Assertion
public void setSubject(Subject newSubject)
setSubject
in interface Assertion
newSubject
- the Subject of this assertionpublic Conditions getConditions()
getConditions
in interface Assertion
public void setConditions(Conditions newConditions)
setConditions
in interface Assertion
newConditions
- the Conditions placed on this assertionpublic Advice getAdvice()
public void setAdvice(Advice newAdvice)
public List<Statement> getStatements()
getStatements
in interface Assertion
public List<Statement> getStatements(QName typeOrName)
getStatements
in interface Assertion
typeOrName
- the QName of the statements to returnpublic List<AuthnStatement> getAuthnStatements()
getAuthnStatements
in interface Assertion
public List<AuthzDecisionStatement> getAuthzDecisionStatements()
getAuthzDecisionStatements
in interface Assertion
public List<AttributeStatement> getAttributeStatements()
getAttributeStatements
in interface Assertion
public String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.