|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 | |
---|---|
private Advice |
advice
Advice of the assertion. |
private Conditions |
conditions
Conditions of the assertion. |
private String |
id
ID of the assertion. |
private org.joda.time.DateTime |
issueInstant
Issue Instant of the assertion. |
private Issuer |
issuer
Issuer of the assertion. |
private IndexedXMLObjectChildrenList<Statement> |
statements
Statements of the assertion. |
private Subject |
subject
Subject of the assertion. |
private SAMLVersion |
version
SAML Version of the assertion. |
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(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
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()
|
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. |
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject |
---|
equals, prepareForAssignment, setSignature |
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject |
---|
getSignature, 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 |
---|
getSignature, isSigned, setSignature |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
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 |
Field Detail |
---|
private SAMLVersion version
private org.joda.time.DateTime issueInstant
private String id
private Issuer issuer
private Subject subject
private Conditions conditions
private Advice advice
private final IndexedXMLObjectChildrenList<Statement> statements
Constructor Detail |
---|
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 namespaceMethod 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 String getID()
getID
in interface Assertion
public void setID(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 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 List<Statement> getStatements()
getStatements
in interface Assertion
public List<Statement> getStatements(QName typeOrName)
getStatements
in interface Assertion
typeOrName
- the QName of the statements to return
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |