public class AssertionImpl extends AbstractSignableSAMLObject implements Assertion
Assertion statement.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()
advice is a (singleton) Object, representing the
Advice sub element. |
List<AttributeStatement> |
getAttributeStatements()
Return all the
AttributeStatement elements. |
List<AuthenticationStatement> |
getAuthenticationStatements()
Return the List representing all the
AuthenticationStatement sub elements. |
List<AuthorizationDecisionStatement> |
getAuthorizationDecisionStatements()
Return the List representing all the
AuthorizationStatement sub elements. |
Conditions |
getConditions()
Return the (singleton) Object, representing the
Conditions sub element. |
String |
getID()
Set the ID.
|
org.joda.time.DateTime |
getIssueInstant()
Get the IssueInstant (attribute).
|
String |
getIssuer()
Get the Issuer (which is an attribute) .
|
int |
getMajorVersion()
Get the MajorVersion attribute.
|
int |
getMinorVersion()
Get the MinorVersion attribute.
|
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()
Return the List representing all the
Statement sub elements. |
List<Statement> |
getStatements(QName typeOrName)
Return the List representing all the
Statement sub elements with a given schema type or element
name. |
List<SubjectStatement> |
getSubjectStatements()
Return the List representing all the
SubjectStatement sub elements. |
void |
setAdvice(Advice adv)
Set the Object representing the
Advice sub element. |
void |
setConditions(Conditions c)
Set the Object representing the
Conditions Sub element. |
void |
setID(String newID)
Get the ID.
|
void |
setIssueInstant(org.joda.time.DateTime instant)
Set the IssueInstance (attribute).
|
void |
setIssuer(String iss)
Set the Issuer (attribute).
|
void |
setVersion(SAMLVersion newVersion)
Set the SAML version of this assertion.
|
equals, hashCode, prepareForAssignment, setSignaturegetSignature, isSigneddetach, 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, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected 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 Assertionpublic int getMinorVersion()
getMinorVersion in interface Assertionpublic void setVersion(SAMLVersion newVersion)
setVersion in interface AssertionnewVersion - the SAML version of this assertionpublic void setID(String newID)
public String getIssuer()
public void setIssuer(String iss)
public org.joda.time.DateTime getIssueInstant()
getIssueInstant in interface Assertionpublic void setIssueInstant(org.joda.time.DateTime instant)
setIssueInstant in interface Assertioninstant - the issue instant value to setpublic Conditions getConditions()
Conditions sub element.getConditions in interface Assertionpublic void setConditions(Conditions c)
Conditions Sub element.setConditions in interface Assertionc - the condition to Listpublic Advice getAdvice()
Advice sub element.public void setAdvice(Advice adv)
Advice sub element.public List<Statement> getStatements()
Statement sub elements.getStatements in interface Assertionpublic List<Statement> getStatements(QName typeOrName)
Statement sub elements with a given schema type or element
name.getStatements in interface AssertiontypeOrName - the schema type or element namepublic List<SubjectStatement> getSubjectStatements()
SubjectStatement sub elements.getSubjectStatements in interface Assertionpublic List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement sub elements.getAuthenticationStatements in interface Assertionpublic List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement sub elements.getAuthorizationDecisionStatements in interface Assertionpublic List<AttributeStatement> getAttributeStatements()
AttributeStatement elements.getAttributeStatements in interface Assertionpublic String getSignatureReferenceID()
getSignatureReferenceID in interface SignableSAMLObjectpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectCopyright © 2021. All rights reserved.