|
||||||||||
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.saml1.core.impl.AssertionImpl
public class AssertionImpl
This class implements the SAML 1 Assertion
statement.
Field Summary | |
---|---|
private Advice |
advice
(Possibly null) Singleton object version of the Advice element. |
private Conditions |
conditions
(Possibly null) Singleton object version of the Conditions element. |
private String |
id
The AssertionID attrribute |
private org.joda.time.DateTime |
issueInstant
Object version of the IssueInstant attribute. |
private String |
issuer
Object version of the Issuer attribute. |
private IndexedXMLObjectChildrenList<Statement> |
statements
Object representnation of all the Statement <\code> elements. |
private SAMLVersion |
version
SAML version of this assertion |
Fields inherited from interface org.opensaml.saml1.core.Assertion |
---|
ASSERTIONID_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_NAME, ISSUER_ATTRIB_NAME, MAJORVERSION_ATTRIB_NAME, MINORVERSION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
Constructor Summary | |
---|---|
protected |
AssertionImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor |
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<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()
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 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 String id
AssertionID
attrribute
private SAMLVersion version
private String issuer
Issuer
attribute.
private org.joda.time.DateTime issueInstant
IssueInstant
attribute.
private Conditions conditions
Conditions
element.
private Advice advice
Advice
element.
private final IndexedXMLObjectChildrenList<Statement> statements
Statement <\code> elements.
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 int getMajorVersion()
getMajorVersion
in interface Assertion
public int getMinorVersion()
getMinorVersion
in interface Assertion
public void setVersion(SAMLVersion newVersion)
setVersion
in interface Assertion
newVersion
- the SAML version of this assertionpublic String getID()
getID
in interface Assertion
public void setID(String id)
setID
in interface Assertion
public String getIssuer()
getIssuer
in interface Assertion
public void setIssuer(String issuer)
setIssuer
in interface Assertion
issuer
- the value to setpublic org.joda.time.DateTime getIssueInstant()
getIssueInstant
in interface Assertion
public void setIssueInstant(org.joda.time.DateTime issueInstant)
setIssueInstant
in interface Assertion
issueInstant
- the issue instant value to setpublic Conditions getConditions()
Conditions
sub element.
getConditions
in interface Assertion
public void setConditions(Conditions conditions) throws IllegalArgumentException
Conditions
Sub element.
setConditions
in interface Assertion
conditions
- the condition to List
IllegalArgumentException
- if the condition has already been set into another objectpublic Advice getAdvice()
Advice
sub element
getAdvice
in interface Assertion
public void setAdvice(Advice advice) throws IllegalArgumentException
Advice
sub element.
setAdvice
in interface Assertion
advice
- the object to set
IllegalArgumentException
- if the object has already been put into another SAMLObjectpublic List<Statement> getStatements()
Statement
sub elements.
getStatements
in interface Assertion
public List<Statement> getStatements(QName typeOrName)
Statement
sub elements with a given schema type or element name.
getStatements
in interface Assertion
typeOrName
- the schema type or element name
public List<SubjectStatement> getSubjectStatements()
SubjectStatement
sub elements.
getSubjectStatements
in interface Assertion
public List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement
sub elements.
getAuthenticationStatements
in interface Assertion
public List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement
sub elements.
getAuthorizationDecisionStatements
in interface Assertion
public List<AttributeStatement> getAttributeStatements()
AttributeStatement
elements
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 |