|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Assertion
This interface defines how the object representing a SAML 1 Assertion element behaves.
| Field Summary | |
|---|---|
static String |
ASSERTIONID_ATTRIB_NAME
Name for the attribute which defines Assertion ID |
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace. |
static QName |
DEFAULT_ELEMENT_NAME
Default element name |
static String |
ID_ATTRIB_NAME
Name for the attribute which defines the Issue Instant. |
static String |
ISSUEINSTANT_ATTRIB_NAME
Name for the attribute which defines the issue instant |
static String |
ISSUER_ATTRIB_NAME
Name for the attribute which defines Issuer |
static String |
MAJORVERSION_ATTRIB_NAME
Name for the attribute which defines Major Version (attribute's value must be 1) |
static String |
MINORVERSION_ATTRIB_NAME
Name for the attribute which defines Minor Version. |
static String |
TYPE_LOCAL_NAME
Local name of the XSI type |
static QName |
TYPE_NAME
QName of the XSI type |
| Method Summary | |
|---|---|
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<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 advice)
Set the Object representing the Advice sub element. |
void |
setConditions(Conditions conditions)
Set the Object representing the Conditions Sub element. |
void |
setID(String id)
Get the ID |
void |
setIssueInstant(org.joda.time.DateTime issueInstant)
Set the IssueInstance (attribute). |
void |
setIssuer(String Issuer)
Set the Issuer (attribute). |
void |
setVersion(SAMLVersion version)
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 |
|---|
static final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String MAJORVERSION_ATTRIB_NAME
static final String MINORVERSION_ATTRIB_NAME
static final String ASSERTIONID_ATTRIB_NAME
static final String ISSUER_ATTRIB_NAME
static final String ISSUEINSTANT_ATTRIB_NAME
static final String ID_ATTRIB_NAME
| Method Detail |
|---|
int getMajorVersion()
int getMinorVersion()
void setVersion(SAMLVersion version)
version - the SAML version of this assertionString getIssuer()
void setIssuer(String Issuer)
Issuer - the value to setorg.joda.time.DateTime getIssueInstant()
String getID()
void setID(String id)
void setIssueInstant(org.joda.time.DateTime issueInstant)
issueInstant - the issue instant value to setConditions getConditions()
Conditions sub element.
void setConditions(Conditions conditions)
throws IllegalArgumentException
Conditions Sub element.
conditions - the condition to List
IllegalArgumentException - if the condition has already been set into another objectAdvice getAdvice()
Advice sub element
void setAdvice(Advice advice)
throws IllegalArgumentException
Advice sub element.
advice - the object to set
IllegalArgumentException - if the object has already been put into another SAMLObjectList<Statement> getStatements()
Statement sub elements.
List<Statement> getStatements(QName typeOrName)
Statement sub elements with a given schema type or element name.
typeOrName - the schema type or element name
List<SubjectStatement> getSubjectStatements()
SubjectStatement sub elements.
List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement sub elements.
List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement sub elements.
List<AttributeStatement> getAttributeStatements()
AttributeStatement elements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||