Class SubjectImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml1.core.Subject

    public class SubjectImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml1.core.Subject
    Complete implementation of Subject.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.saml1.core.NameIdentifier nameIdentifier
      Contains the NameIdentifier inside the Subject.
      private org.opensaml.saml.saml1.core.SubjectConfirmation subjectConfirmation
      Contains the SubjectConfirmation inside the Subject.
      • Fields inherited from interface org.opensaml.saml.saml1.core.Subject

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SubjectImpl​(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.NameIdentifier getNameIdentifier()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.saml.saml1.core.SubjectConfirmation getSubjectConfirmation()
      void setNameIdentifier​(org.opensaml.saml.saml1.core.NameIdentifier name)
      void setSubjectConfirmation​(org.opensaml.saml.saml1.core.SubjectConfirmation conf)
      • 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 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

      • nameIdentifier

        private org.opensaml.saml.saml1.core.NameIdentifier nameIdentifier
        Contains the NameIdentifier inside the Subject.
      • subjectConfirmation

        private org.opensaml.saml.saml1.core.SubjectConfirmation subjectConfirmation
        Contains the SubjectConfirmation inside the Subject.
    • Constructor Detail

      • SubjectImpl

        protected SubjectImpl​(String namespaceURI,
                              String elementLocalName,
                              String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getNameIdentifier

        public org.opensaml.saml.saml1.core.NameIdentifier getNameIdentifier()
        Specified by:
        getNameIdentifier in interface org.opensaml.saml.saml1.core.Subject
      • setNameIdentifier

        public void setNameIdentifier​(org.opensaml.saml.saml1.core.NameIdentifier name)
        Specified by:
        setNameIdentifier in interface org.opensaml.saml.saml1.core.Subject
      • getSubjectConfirmation

        public org.opensaml.saml.saml1.core.SubjectConfirmation getSubjectConfirmation()
        Specified by:
        getSubjectConfirmation in interface org.opensaml.saml.saml1.core.Subject
      • setSubjectConfirmation

        public void setSubjectConfirmation​(org.opensaml.saml.saml1.core.SubjectConfirmation conf)
        Specified by:
        setSubjectConfirmation in interface org.opensaml.saml.saml1.core.Subject
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject