org.opensaml.saml2.core
Interface Assertion

All Superinterfaces:
Evidentiary, SAMLObject, SignableSAMLObject, SignableXMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
AssertionImpl

public interface Assertion
extends SignableSAMLObject, Evidentiary

SAML 2.0 Core Assertion.


Field Summary
static String DEFAULT_ELEMENT_LOCAL_NAME
          Element local name.
static QName DEFAULT_ELEMENT_NAME
          Default element name.
static String ID_ATTRIB_NAME
          ID attribute name.
static String ISSUE_INSTANT_ATTRIB_NAME
          IssueInstant attribute name.
static String TYPE_LOCAL_NAME
          Local name of the XSI type.
static QName TYPE_NAME
          QName of the XSI type.
static String VERSION_ATTRIB_NAME
          Version attribute name.
 
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<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 interface org.opensaml.common.SignableSAMLObject
getSignatureReferenceID
 
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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final String DEFAULT_ELEMENT_LOCAL_NAME
Element local name.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final QName TYPE_NAME
QName of the XSI type.


VERSION_ATTRIB_NAME

static final String VERSION_ATTRIB_NAME
Version attribute name.

See Also:
Constant Field Values

ISSUE_INSTANT_ATTRIB_NAME

static final String ISSUE_INSTANT_ATTRIB_NAME
IssueInstant attribute name.

See Also:
Constant Field Values

ID_ATTRIB_NAME

static final String ID_ATTRIB_NAME
ID attribute name.

See Also:
Constant Field Values
Method Detail

getVersion

SAMLVersion getVersion()
Gets the SAML Version of this assertion.

Returns:
the SAML Version of this assertion.

setVersion

void setVersion(SAMLVersion newVersion)
Sets the SAML Version of this assertion.

Parameters:
newVersion - the SAML Version of this assertion

getIssueInstant

org.joda.time.DateTime getIssueInstant()
Gets the issue instance of this assertion.

Returns:
the issue instance of this assertion

setIssueInstant

void setIssueInstant(org.joda.time.DateTime newIssueInstance)
Sets the issue instance of this assertion.

Parameters:
newIssueInstance - the issue instance of this assertion

getID

String getID()
Sets the ID of this assertion.

Returns:
the ID of this assertion

setID

void setID(String newID)
Sets the ID of this assertion.

Parameters:
newID - the ID of this assertion

getIssuer

Issuer getIssuer()
Gets the Issuer of this assertion.

Returns:
the Issuer of this assertion

setIssuer

void setIssuer(Issuer newIssuer)
Sets the Issuer of this assertion.

Parameters:
newIssuer - the Issuer of this assertion

getSubject

Subject getSubject()
Gets the Subject of this assertion.

Returns:
the Subject of this assertion

setSubject

void setSubject(Subject newSubject)
Sets the Subject of this assertion.

Parameters:
newSubject - the Subject of this assertion

getConditions

Conditions getConditions()
Gets the Conditions placed on this assertion.

Returns:
the Conditions placed on this assertion

setConditions

void setConditions(Conditions newConditions)
Sets the Conditions placed on this assertion.

Parameters:
newConditions - the Conditions placed on this assertion

getAdvice

Advice getAdvice()
Gets the Advice for this assertion.

Returns:
the Advice for this assertion

setAdvice

void setAdvice(Advice newAdvice)
Sets the Advice for this assertion.

Parameters:
newAdvice - the Advice for this assertion

getStatements

List<Statement> getStatements()
Gets the list of statements attached to this assertion.

Returns:
the list of statements attached to this assertion

getStatements

List<Statement> getStatements(QName typeOrName)
Gets the list of statements attached to this assertion that match a particular QName.

Parameters:
typeOrName - the QName of the statements to return
Returns:
the list of statements attached to this assertion

getAuthnStatements

List<AuthnStatement> getAuthnStatements()
Gets the list of AuthnStatements attached to this assertion.

Returns:
the list of AuthnStatements attached to this assertion

getAuthzDecisionStatements

List<AuthzDecisionStatement> getAuthzDecisionStatements()
Gets the list of AuthzDecisionStatements attached to this assertion.

Returns:
the list of AuthzDecisionStatements attached to this assertion

getAttributeStatements

List<AttributeStatement> getAttributeStatements()
Gets the list of AttributeStatement attached to this assertion.

Returns:
the list of AttributeStatement attached to this assertion


Copyright © 1999-2012. All Rights Reserved.