com.ibm.itim.dataservices.model

Class AuthorizationOwner

  • java.lang.Object
    • com.ibm.itim.dataservices.model.AuthorizationOwner
  • All Implemented Interfaces:
    java.io.Serializable


    public class AuthorizationOwner
    extends java.lang.Object
    implements java.io.Serializable
    Class representing a system user or role authorized to change access rights on a related entity.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ROLE
      Constant representing an owner defined by a role.
      static int USER
      Constant representing an owner defined by a system user.
    • Field Detail

      • USER

        public static final int USER
        Constant representing an owner defined by a system user.
        See Also:
        Constant Field Values
      • ROLE

        public static final int ROLE
        Constant representing an owner defined by a role.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuthorizationOwner

        public AuthorizationOwner(DistinguishedName ownerDN)
        The Authorization Owner Constructor
        Parameters:
        ownerDN - DistinguishedName of an authorization owner
    • Method Detail

      • getOwnerDistinguishedName

        public DistinguishedName getOwnerDistinguishedName()
        Returns the distinguished name of the authorization owner. The distinguished name may reference a system user or role.
        Returns:
        Distinguished name of authorization owner.
      • getOwnerCategory

        public int getOwnerCategory()
        Returns the category of the authorization owner. The categories consist of USER and ROLE.
        Returns:
        Enumeration of USER or ROLE.
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()