|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.signature.AbstractSignableXMLObject
org.opensaml.xml.AbstractValidatingSignableXMLObject
org.opensaml.common.impl.AbstractSignableSAMLObject
org.opensaml.saml2.core.impl.AssertionImpl
public class AssertionImpl
A concrete implementation of Assertion
.
Field Summary |
---|
Fields inherited from interface org.opensaml.saml2.core.Assertion |
---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTRIB_NAME |
Constructor Summary | |
---|---|
protected |
AssertionImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor |
Method Summary | |
---|---|
Advice |
getAdvice()
Gets the Advice for this assertion. |
java.util.List<AttributeStatement> |
getAttributeStatements()
Gets the list of AttributeStatement attached to this assertion. |
java.util.List<AuthnStatement> |
getAuthnStatements()
Gets the list of AuthnStatements attached to this assertion. |
java.util.List<AuthzDecisionStatement> |
getAuthzDecisionStatements()
Gets the list of AuthzDecisionStatements attached to this assertion. |
Conditions |
getConditions()
Gets the Conditions placed on this assertion. |
java.lang.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. |
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM. |
Signature |
getSignature()
Gets the Signature XMLObject. |
java.lang.String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference. |
java.util.List<Statement> |
getStatements()
Gets the list of statements attached to this assertion. |
java.util.List<Statement> |
getStatements(javax.xml.namespace.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(java.lang.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 |
setSignature(Signature newSignature)
Sets the Signature XMLObject. When a signature is added, a default content reference that uses the ID of this object will be created and added to the signature at the time of signing. |
void |
setSubject(Subject newSubject)
Sets the Subject of this assertion. |
void |
setVersion(SAMLVersion newVersion)
Sets the SAML Version of this assertion. |
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject |
---|
equals, prepareForAssignment |
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject |
---|
isSigned |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject |
---|
isSigned |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Constructor Detail |
---|
protected AssertionImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
namespaceURI
- elementLocalName
- namespacePrefix
- Method Detail |
---|
public 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 java.lang.String getID()
getID
in interface Assertion
public void setID(java.lang.String newID)
setID
in interface Assertion
newID
- the ID of this assertionpublic Issuer getIssuer()
getIssuer
in interface Assertion
public void setIssuer(Issuer newIssuer)
setIssuer
in interface Assertion
newIssuer
- the Issuer of this assertionpublic Signature getSignature()
getSignature
in interface SignableXMLObject
getSignature
in class AbstractSignableXMLObject
public void setSignature(Signature newSignature)
SAMLObjectContentReference
for the default digest algorithm and transforms that will be used. These default values may be
changed prior to marshalling this object.
setSignature
in interface SignableXMLObject
setSignature
in class AbstractSignableSAMLObject
newSignature
- the Signature XMLObjectpublic 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()
getAdvice
in interface Assertion
public void setAdvice(Advice newAdvice)
setAdvice
in interface Assertion
newAdvice
- the Advice for this assertionpublic java.util.List<Statement> getStatements()
getStatements
in interface Assertion
public java.util.List<Statement> getStatements(javax.xml.namespace.QName typeOrName)
getStatements
in interface Assertion
typeOrName
- the QName of the statements to return
public java.util.List<AuthnStatement> getAuthnStatements()
getAuthnStatements
in interface Assertion
public java.util.List<AuthzDecisionStatement> getAuthzDecisionStatements()
getAuthzDecisionStatements
in interface Assertion
public java.util.List<AttributeStatement> getAttributeStatements()
getAttributeStatements
in interface Assertion
public java.lang.String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |