|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
---|
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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor |
Method Summary | |
---|---|
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<org.opensaml.xml.XMLObject> |
getOrderedChildren()
|
java.lang.String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference. |
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 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 org.opensaml.xml.AbstractXMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType |
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, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Constructor Detail |
---|
protected AssertionImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.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 java.lang.String getID()
getID
in interface Assertion
public void setID(java.lang.String id)
setID
in interface Assertion
public java.lang.String getIssuer()
getIssuer
in interface Assertion
public void setIssuer(java.lang.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 java.lang.IllegalArgumentException
Conditions
Sub element.
setConditions
in interface Assertion
conditions
- the condition to List
java.lang.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 java.lang.IllegalArgumentException
Advice
sub element.
setAdvice
in interface Assertion
advice
- the object to set
java.lang.IllegalArgumentException
- if the object has already been put into another SAMLObjectpublic java.util.List<Statement> getStatements()
Statement
sub elements.
getStatements
in interface Assertion
public java.util.List<Statement> getStatements(javax.xml.namespace.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 java.util.List<SubjectStatement> getSubjectStatements()
SubjectStatement
sub elements.
getSubjectStatements
in interface Assertion
public java.util.List<AuthenticationStatement> getAuthenticationStatements()
AuthenticationStatement
sub elements.
getAuthenticationStatements
in interface Assertion
public java.util.List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
AuthorizationStatement
sub elements.
getAuthorizationDecisionStatements
in interface Assertion
public java.util.List<AttributeStatement> getAttributeStatements()
AttributeStatement
elements
getAttributeStatements
in interface Assertion
public java.lang.String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.xml.XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |