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
static int ROLE
          Constant representing an owner defined by a role.
static int USER
          Constant representing an owner defined by a system user.
 
Constructor Summary
AuthorizationOwner(DistinguishedName ownerDN)
          The Authorization Owner Constructor
 
Method Summary
 int getOwnerCategory()
          Returns the category of the authorization owner.
 DistinguishedName getOwnerDistinguishedName()
          Returns the distinguished name of the authorization owner.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER

public static final int USER
Constant representing an owner defined by a system user.

ROLE

public static final int ROLE
Constant representing an owner defined by a role.
Constructor Detail

AuthorizationOwner

public AuthorizationOwner(DistinguishedName ownerDN)
The Authorization Owner Constructor
Parameters:
sysRoleDN - 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.