Interface Subject

  • All Superinterfaces:
    SAMLObject, org.opensaml.core.xml.XMLObject

    public interface Subject
    extends SAMLObject
    SAML 2.0 Core Subject.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BaseID getBaseID()
      Gets the base identifier of the principal for this request.
      EncryptedID getEncryptedID()
      Gets the encrypted name identifier of the principal for this request.
      NameID getNameID()
      Gets the name identifier of the principal for this request.
      List<SubjectConfirmation> getSubjectConfirmations()
      Gets the confirmations made about this subject.
      void setBaseID​(BaseID newBaseID)
      Sets the base identifier of the principal for this request.
      void setEncryptedID​(EncryptedID newEncryptedID)
      Sets the encrypted name identifier of the principal for this request.
      void setNameID​(NameID newNameID)
      Sets the name identifier of the principal for this request.
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • DEFAULT_ELEMENT_NAME

        static final QName DEFAULT_ELEMENT_NAME
        Default element name.
      • TYPE_NAME

        static final QName TYPE_NAME
        QName of the XSI type.
    • Method Detail

      • getBaseID

        BaseID getBaseID()
        Gets the base identifier of the principal for this request.
        Returns:
        the base identifier of the principal for this request
      • setBaseID

        void setBaseID​(BaseID newBaseID)
        Sets the base identifier of the principal for this request.
        Parameters:
        newBaseID - the base identifier of the principal for this request
      • getNameID

        NameID getNameID()
        Gets the name identifier of the principal for this request.
        Returns:
        the name identifier of the principal for this request
      • setNameID

        void setNameID​(NameID newNameID)
        Sets the name identifier of the principal for this request.
        Parameters:
        newNameID - the name identifier of the principal for this request
      • getEncryptedID

        EncryptedID getEncryptedID()
        Gets the encrypted name identifier of the principal for this request.
        Returns:
        the encrypted name identifier of the principal for this request
      • setEncryptedID

        void setEncryptedID​(EncryptedID newEncryptedID)
        Sets the encrypted name identifier of the principal for this request.
        Parameters:
        newEncryptedID - the new encrypted name identifier of the principal for this request
      • getSubjectConfirmations

        List<SubjectConfirmation> getSubjectConfirmations()
        Gets the confirmations made about this subject.
        Returns:
        the confirmations made about this subject