Class AssertionImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.AbstractSignableXMLObject
-
- org.opensaml.saml.common.AbstractSignableSAMLObject
-
- org.opensaml.saml.saml1.core.impl.AssertionImpl
-
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject,org.opensaml.saml.common.SAMLObject,org.opensaml.saml.common.SignableSAMLObject,org.opensaml.saml.saml1.core.Assertion,org.opensaml.saml.saml1.core.Evidentiary,org.opensaml.xmlsec.signature.SignableXMLObject
public class AssertionImpl extends org.opensaml.saml.common.AbstractSignableSAMLObject implements org.opensaml.saml.saml1.core.AssertionThis class implements the SAML 1Assertionstatement.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.saml.saml1.core.Adviceadvice(Possibly null) Singleton object version of theAdviceelement.private org.opensaml.saml.saml1.core.Conditionsconditions(Possibly null) Singleton object version of theConditionselement.private StringidTheAssertionIDattrribute.private InstantissueInstantObject version of theIssueInstantattribute.private StringissuerObject version of theIssuerattribute.private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml1.core.Statement>statementsObject representation of all theStatementelements.private org.opensaml.saml.common.SAMLVersionversionSAML version of this assertion.-
Fields inherited from interface org.opensaml.saml.saml1.core.Assertion
ASSERTIONID_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_QNAME, ISSUER_ATTRIB_NAME, MAJORVERSION_ATTRIB_NAME, MINORVERSION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml1.core.AdvicegetAdvice()List<org.opensaml.saml.saml1.core.AttributeStatement>getAttributeStatements()List<org.opensaml.saml.saml1.core.AuthenticationStatement>getAuthenticationStatements()List<org.opensaml.saml.saml1.core.AuthorizationDecisionStatement>getAuthorizationDecisionStatements()org.opensaml.saml.saml1.core.ConditionsgetConditions()StringgetID()InstantgetIssueInstant()StringgetIssuer()intgetMajorVersion()intgetMinorVersion()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()StringgetSignatureReferenceID()List<org.opensaml.saml.saml1.core.Statement>getStatements()List<org.opensaml.saml.saml1.core.Statement>getStatements(QName typeOrName)List<org.opensaml.saml.saml1.core.SubjectStatement>getSubjectStatements()voidsetAdvice(org.opensaml.saml.saml1.core.Advice adv)voidsetConditions(org.opensaml.saml.saml1.core.Conditions c)voidsetID(String newID)voidsetIssueInstant(Instant instant)voidsetIssuer(String iss)voidsetVersion(org.opensaml.saml.common.SAMLVersion newVersion)-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
id
private String id
TheAssertionIDattrribute.
-
version
private org.opensaml.saml.common.SAMLVersion version
SAML version of this assertion.
-
issuer
private String issuer
Object version of theIssuerattribute.
-
issueInstant
private Instant issueInstant
Object version of theIssueInstantattribute.
-
conditions
private org.opensaml.saml.saml1.core.Conditions conditions
(Possibly null) Singleton object version of theConditionselement.
-
advice
private org.opensaml.saml.saml1.core.Advice advice
(Possibly null) Singleton object version of theAdviceelement.
-
statements
private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml1.core.Statement> statements
Object representation of all theStatementelements.
-
-
Constructor Detail
-
AssertionImpl
protected AssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfaceorg.opensaml.saml.saml1.core.Assertion
-
setVersion
public void setVersion(org.opensaml.saml.common.SAMLVersion newVersion)
- Specified by:
setVersionin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getID
public String getID()
- Specified by:
getIDin interfaceorg.opensaml.saml.saml1.core.Assertion
-
setID
public void setID(String newID)
- Specified by:
setIDin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getIssuer
public String getIssuer()
- Specified by:
getIssuerin interfaceorg.opensaml.saml.saml1.core.Assertion
-
setIssuer
public void setIssuer(String iss)
- Specified by:
setIssuerin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getIssueInstant
public Instant getIssueInstant()
- Specified by:
getIssueInstantin interfaceorg.opensaml.saml.saml1.core.Assertion
-
setIssueInstant
public void setIssueInstant(Instant instant)
- Specified by:
setIssueInstantin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getConditions
public org.opensaml.saml.saml1.core.Conditions getConditions()
- Specified by:
getConditionsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
setConditions
public void setConditions(org.opensaml.saml.saml1.core.Conditions c)
- Specified by:
setConditionsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getAdvice
public org.opensaml.saml.saml1.core.Advice getAdvice()
- Specified by:
getAdvicein interfaceorg.opensaml.saml.saml1.core.Assertion
-
setAdvice
public void setAdvice(org.opensaml.saml.saml1.core.Advice adv)
- Specified by:
setAdvicein interfaceorg.opensaml.saml.saml1.core.Assertion
-
getStatements
public List<org.opensaml.saml.saml1.core.Statement> getStatements()
- Specified by:
getStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getStatements
public List<org.opensaml.saml.saml1.core.Statement> getStatements(QName typeOrName)
- Specified by:
getStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getSubjectStatements
public List<org.opensaml.saml.saml1.core.SubjectStatement> getSubjectStatements()
- Specified by:
getSubjectStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getAuthenticationStatements
public List<org.opensaml.saml.saml1.core.AuthenticationStatement> getAuthenticationStatements()
- Specified by:
getAuthenticationStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getAuthorizationDecisionStatements
public List<org.opensaml.saml.saml1.core.AuthorizationDecisionStatement> getAuthorizationDecisionStatements()
- Specified by:
getAuthorizationDecisionStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getAttributeStatements
public List<org.opensaml.saml.saml1.core.AttributeStatement> getAttributeStatements()
- Specified by:
getAttributeStatementsin interfaceorg.opensaml.saml.saml1.core.Assertion
-
getSignatureReferenceID
public String getSignatureReferenceID()
- Specified by:
getSignatureReferenceIDin interfaceorg.opensaml.saml.common.SignableSAMLObject
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-