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, setSignature
getSignature, isSigned
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
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
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
newVersion
- 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 Assertion
public void setIssueInstant(org.joda.time.DateTime instant)
setIssueInstant
in interface Assertion
instant
- the issue instant value to setpublic Conditions getConditions()
Conditions
sub element.getConditions
in interface Assertion
public void setConditions(Conditions c)
Conditions
Sub element.setConditions
in interface Assertion
c
- 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 Assertion
public List<Statement> getStatements(QName typeOrName)
Statement
sub elements with a given schema type or element
name.getStatements
in interface Assertion
typeOrName
- the schema type or element namepublic List<SubjectStatement> getSubjectStatements()
SubjectStatement
sub elements.getSubjectStatements
in interface Assertion
public List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement
sub elements.getAuthenticationStatements
in interface Assertion
public List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement
sub elements.getAuthorizationDecisionStatements
in interface Assertion
public List<AttributeStatement> getAttributeStatements()
AttributeStatement
elements.getAttributeStatements
in interface Assertion
public String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2016 JBoss by Red Hat. All rights reserved.