Class SubjectImpl

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

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

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.saml2.core.BaseID baseID
      BaseID child element.
      private org.opensaml.saml.saml2.core.EncryptedID encryptedID
      EncryptedID child element.
      private org.opensaml.saml.saml2.core.NameID nameID
      NameID child element.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.SubjectConfirmation> subjectConfirmations
      Subject Confirmations of the Subject.
      • Fields inherited from interface org.opensaml.saml.saml2.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.saml2.core.BaseID getBaseID()
      org.opensaml.saml.saml2.core.EncryptedID getEncryptedID()
      org.opensaml.saml.saml2.core.NameID getNameID()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      List<org.opensaml.saml.saml2.core.SubjectConfirmation> getSubjectConfirmations()
      void setBaseID​(org.opensaml.saml.saml2.core.BaseID newBaseID)
      void setEncryptedID​(org.opensaml.saml.saml2.core.EncryptedID newEncryptedID)
      void setNameID​(org.opensaml.saml.saml2.core.NameID newNameID)
      • 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

      • baseID

        private org.opensaml.saml.saml2.core.BaseID baseID
        BaseID child element.
      • nameID

        private org.opensaml.saml.saml2.core.NameID nameID
        NameID child element.
      • encryptedID

        private org.opensaml.saml.saml2.core.EncryptedID encryptedID
        EncryptedID child element.
      • subjectConfirmations

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.SubjectConfirmation> subjectConfirmations
        Subject Confirmations of 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

      • getBaseID

        public org.opensaml.saml.saml2.core.BaseID getBaseID()
        Specified by:
        getBaseID in interface org.opensaml.saml.saml2.core.Subject
      • setBaseID

        public void setBaseID​(org.opensaml.saml.saml2.core.BaseID newBaseID)
        Specified by:
        setBaseID in interface org.opensaml.saml.saml2.core.Subject
      • getNameID

        public org.opensaml.saml.saml2.core.NameID getNameID()
        Specified by:
        getNameID in interface org.opensaml.saml.saml2.core.Subject
      • setNameID

        public void setNameID​(org.opensaml.saml.saml2.core.NameID newNameID)
        Specified by:
        setNameID in interface org.opensaml.saml.saml2.core.Subject
      • getEncryptedID

        public org.opensaml.saml.saml2.core.EncryptedID getEncryptedID()
        Specified by:
        getEncryptedID in interface org.opensaml.saml.saml2.core.Subject
      • setEncryptedID

        public void setEncryptedID​(org.opensaml.saml.saml2.core.EncryptedID newEncryptedID)
        Specified by:
        setEncryptedID in interface org.opensaml.saml.saml2.core.Subject
      • getSubjectConfirmations

        public List<org.opensaml.saml.saml2.core.SubjectConfirmation> getSubjectConfirmations()
        Specified by:
        getSubjectConfirmations in interface org.opensaml.saml.saml2.core.Subject
      • getOrderedChildren

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