public interface Assertion extends SignableSAMLObject, Evidentiary
Assertion element behaves.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ASSERTIONID_ATTRIB_NAME
Name for the attribute which defines Assertion ID.
|
static java.lang.String |
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.
|
static javax.xml.namespace.QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static java.lang.String |
ID_ATTRIB_NAME
Name for the attribute which defines the Issue Instant.
|
static java.lang.String |
ISSUEINSTANT_ATTRIB_NAME
Name for the attribute which defines the issue instant.
|
static java.lang.String |
ISSUER_ATTRIB_NAME
Name for the attribute which defines Issuer.
|
static java.lang.String |
MAJORVERSION_ATTRIB_NAME
Name for the attribute which defines Major Version (attribute's value must be 1).
|
static java.lang.String |
MINORVERSION_ATTRIB_NAME
Name for the attribute which defines Minor Version.
|
static java.lang.String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static javax.xml.namespace.QName |
TYPE_NAME
QName of the XSI type.
|
| Modifier and Type | Method and Description |
|---|---|
Advice |
getAdvice()
advice is a (singleton) Object, representing the
Advice sub element. |
java.util.List<AttributeStatement> |
getAttributeStatements()
Return all the
AttributeStatement elements. |
java.util.List<AuthenticationStatement> |
getAuthenticationStatements()
Return the List representing all the
AuthenticationStatement sub elements. |
java.util.List<AuthorizationDecisionStatement> |
getAuthorizationDecisionStatements()
Return the List representing all the
AuthorizationStatement sub elements. |
Conditions |
getConditions()
Return the (singleton) Object, representing the
Conditions sub element. |
java.lang.String |
getID()
Set the ID.
|
org.joda.time.DateTime |
getIssueInstant()
Get the IssueInstant (attribute).
|
java.lang.String |
getIssuer()
Get the Issuer (which is an attribute) .
|
int |
getMajorVersion()
Get the MajorVersion attribute.
|
int |
getMinorVersion()
Get the MinorVersion attribute.
|
java.util.List<Statement> |
getStatements()
Return the List representing all the
Statement sub elements. |
java.util.List<Statement> |
getStatements(javax.xml.namespace.QName typeOrName)
Return the List representing all the
Statement sub elements with a given schema type or element
name. |
java.util.List<SubjectStatement> |
getSubjectStatements()
Return the List representing all the
SubjectStatement sub elements. |
void |
setAdvice(Advice advice)
Set the Object representing the
Advice sub element. |
void |
setConditions(Conditions conditions)
Set the Object representing the
Conditions Sub element. |
void |
setID(java.lang.String id)
Get the ID.
|
void |
setIssueInstant(org.joda.time.DateTime issueInstant)
Set the IssueInstance (attribute).
|
void |
setIssuer(java.lang.String issuer)
Set the Issuer (attribute).
|
void |
setVersion(SAMLVersion version)
Set the SAML version of this assertion.
|
getSignatureReferenceIDgetSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation@Nonnull @NotEmpty static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
@Nonnull static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
@Nonnull @NotEmpty static final java.lang.String TYPE_LOCAL_NAME
@Nonnull static final javax.xml.namespace.QName TYPE_NAME
@Nonnull @NotEmpty static final java.lang.String MAJORVERSION_ATTRIB_NAME
@Nonnull @NotEmpty static final java.lang.String MINORVERSION_ATTRIB_NAME
@Nonnull @NotEmpty static final java.lang.String ASSERTIONID_ATTRIB_NAME
@Nonnull @NotEmpty static final java.lang.String ISSUER_ATTRIB_NAME
@Nonnull @NotEmpty static final java.lang.String ISSUEINSTANT_ATTRIB_NAME
@Nonnull @NotEmpty static final java.lang.String ID_ATTRIB_NAME
@Nullable java.lang.String getID()
void setID(@Nullable
java.lang.String id)
id - what to setint getMajorVersion()
int getMinorVersion()
void setVersion(@Nullable
SAMLVersion version)
version - the SAML version of this assertion@Nullable java.lang.String getIssuer()
void setIssuer(@Nullable
java.lang.String issuer)
issuer - the value to set@Nullable org.joda.time.DateTime getIssueInstant()
void setIssueInstant(@Nullable
org.joda.time.DateTime issueInstant)
issueInstant - the issue instant value to set@Nullable Conditions getConditions()
Conditions sub element.void setConditions(@Nullable
Conditions conditions)
Conditions Sub element.conditions - the condition to List@Nullable Advice getAdvice()
Advice sub element.void setAdvice(@Nullable
Advice advice)
Advice sub element.advice - the object to set@Nonnull @NonnullElements java.util.List<Statement> getStatements()
Statement sub elements.@Nonnull @NonnullElements java.util.List<Statement> getStatements(@Nonnull javax.xml.namespace.QName typeOrName)
Statement sub elements with a given schema type or element
name.typeOrName - the schema type or element name@Nonnull @NonnullElements java.util.List<SubjectStatement> getSubjectStatements()
SubjectStatement sub elements.@Nonnull @NonnullElements java.util.List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement sub elements.@Nonnull @NonnullElements java.util.List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement sub elements.@Nonnull @NonnullElements java.util.List<AttributeStatement> getAttributeStatements()
AttributeStatement elements.