Class EntitlementSubjectImpl

    • Constructor Detail

      • EntitlementSubjectImpl

        public EntitlementSubjectImpl()
        Deprecated.
        Constructor
      • EntitlementSubjectImpl

        public EntitlementSubjectImpl​(String uuid)
        Deprecated.
        Constructor
        Parameters:
        uuid - the universal ID of subject.
      • EntitlementSubjectImpl

        public EntitlementSubjectImpl​(String uuid,
                                      String pSubjectName)
        Deprecated.
        Constructor.
        Parameters:
        uuid - is the universal ID of subject.
        pSubjectName - subject name as used in OpenAM policy, this is relevant only when it was created from OpenAM policy Subject
    • Method Detail

      • setState

        public void setState​(String state)
        Deprecated.
        Sets state of the object
        Specified by:
        setState in interface EntitlementSubject
        Parameters:
        state - State of the object encoded as string
      • getState

        public String getState()
        Deprecated.
        Returns state of the object.
        Specified by:
        getState in interface EntitlementSubject
        Returns:
        state of the object encoded as string.
      • toJSONObject

        public org.json.JSONObject toJSONObject()
                                         throws org.json.JSONException
        Deprecated.
        Returns JSONObject mapping of the object.
        Returns:
        JSONObject mapping of the object.
        Throws:
        org.json.JSONException
      • toString

        public String toString()
        Deprecated.
        Returns string representation of the object.
        Overrides:
        toString in class Object
        Returns:
        string representation of the object.
      • setID

        public void setID​(String uuid)
        Deprecated.
        Sets the Identifier.
        Parameters:
        uuid - Identifier.
      • getID

        public String getID()
        Deprecated.
        Returns the Identifier.
        Returns:
        Identifier.
      • setPSubjectName

        public void setPSubjectName​(String pSubjectName)
        Deprecated.
        Sets OpenAM policy subject name of the object
        Parameters:
        pSubjectName - subject name as used in OpenAM policy, this is relevant only when GroupSubject was created from OpenAM policy Subject
      • getPSubjectName

        public String getPSubjectName()
        Deprecated.
        Returns OpenAM policy subject name of the object
        Returns:
        subject name as used in OpenAM policy, this is relevant only when GroupSubject was created from OpenAM policy Subject
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Returns true if the passed in object is equal to this object
        Overrides:
        equals in class Object
        Parameters:
        obj - object to check for equality
        Returns:
        true if the passed in object is equal to this object
      • hashCode

        public int hashCode()
        Deprecated.
        Returns hash code of the object
        Overrides:
        hashCode in class Object
        Returns:
        hash code of the object
      • hasPrincipal

        protected boolean hasPrincipal​(Subject subject,
                                       String uuid)
        Deprecated.
      • isExclusive

        public boolean isExclusive()
        Deprecated.
        Returns true for exclusive.
        Returns:
        true for exclusive.
      • setExclusive

        public void setExclusive​(boolean flag)
        Deprecated.
        Sets exclusive.
        Parameters:
        flag - true for exclusive.