Class UserAttributes

    • Constructor Detail

      • UserAttributes

        public UserAttributes()
        Constructs an instance of UserAttributes
    • Method Detail

      • getState

        public String getState()
        Returns the state of this object.
        Specified by:
        getState in interface ResourceAttribute
        Returns:
        state of this object.
      • setState

        public void setState​(String s)
        Sets the state of the object.
        Specified by:
        setState in interface ResourceAttribute
        Parameters:
        s - state of the object.
      • toJSONObject

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

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

        public void setPResponseProviderName​(String pResponseProviderName)
        Sets OpenAM policy response provider name of the object
        Specified by:
        setPResponseProviderName in interface ResourceAttribute
        Parameters:
        pResponseProviderName - response provider name as used in OpenAM policy, this is relevant only when UserAttributes was created from OpenAM policy Subject.
      • getPResponseProviderName

        public String getPResponseProviderName()
        Returns OpenAM policy response provider name of the object
        Specified by:
        getPResponseProviderName in interface ResourceAttribute
        Returns:
        response provider name as used in OpenAM policy, this is relevant only when UserAttributes was created from OpenAM policy Subject
      • equals

        public boolean equals​(Object obj)
        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()
        Returns hash code of the object.
        Overrides:
        hashCode in class Object
        Returns:
        hash code of the object.