Class Proxy

java.lang.Object
oracle.iam.identity.usermgmt.vo.Proxy
All Implemented Interfaces:
Serializable, Identity

public class Proxy extends Object implements Identity
See Also:
  • Field Details

  • Constructor Details

    • Proxy

      public Proxy(String entityId)
      Constructs a proxy object with GUID entityId.
      Parameters:
      entityId - The GUID of the proxy user.
    • Proxy

      public Proxy(String entityId, HashMap<String,Object> attrs)
      Constructs a proxy object with GUID entityId and a map of attribute name-value pair.
      Parameters:
      entityId - The GUID of the proxy user.
      attrs - The Map of attribute name-value pair.
  • Method Details

    • setAttribute

      public void setAttribute(String attr, Object val)
      Adds the attribute attr and it's value val.
      Specified by:
      setAttribute in interface Identity
      Parameters:
      attr - The attribute to be added.
      val - The value of the attribute.
    • getAttribute

      public Object getAttribute(String attr)
      Get the value of the specified proxy attribute name.
      Specified by:
      getAttribute in interface Identity
      Parameters:
      attr - The attribute whose value is to be returned.
      Returns:
      the value of the attribute. null if the attribute is not present. Following attributes (defined as constants in this (Proxy) class) are available. PROXY_ID PROXY_STATUS PROXY_RELATIONSHIP PROXY_ORIG_USR_ID PROXY_PROXY_USR_ID PROXY_START_DATE PROXY_END_DATE PROXY_UPDATED_DATE PROXY_UPDATED_BY PROXY_CREATED_DATE PROXY_CREATED_BY
    • getEntityId

      public String getEntityId()
      Provides GUID of the proxy user.
      Specified by:
      getEntityId in interface Identity
      Returns:
      GUID of the entity.
    • setEntityId

      public void setEntityId(String entityId)
    • getAttributes

      public HashMap<String,Object> getAttributes()
      Provides a map of all attribute-value pair of proxy user.
      Specified by:
      getAttributes in interface Identity
      Returns:
      A map of all attribute-value pair of this proxy user.
    • getAttributeNames

      public Set getAttributeNames()
      Provides a set of all the proxy user attribute names.
      Specified by:
      getAttributeNames in interface Identity
      Returns:
      A set of all the proxy user attribute names.
    • toString

      public String toString()
      Provides the string representation of Proxy value object.
      Specified by:
      toString in interface Identity
      Overrides:
      toString in class Object
      Returns:
      A string representation of Proxy value object.