com.ibm.broker.config.proxy
Class AccessControlEntryPrincipalType

java.lang.Object
  extended by com.ibm.broker.config.proxy.AccessControlEntryPrincipalType

public final class AccessControlEntryPrincipalType
extends java.lang.Object

Defines a set of principal types over which security can be applied. Each instance represents a type of principal (e.g. user or group) which, when associated with an AccessControlEntryPermission and applied to an AdministeredObject, defines the level of control a principal has over the object.

com.ibm.broker.config.proxy.AccessControlEntryPrincipalType

Responsibilities Describes the name component of an entry in an access control table.
Internal Collaborators None
 Change Activity:
 --------- ----------- -------------   ------------------------------------
 Reason:   Date:       Originator:     Comments:
 --------- ----------- -------------   ------------------------------------
 19590.5.5 2004-07-20  martynh         v6 Release
 47371     2007-07-30  HDMPL           v6.1 Release (no changes)
 

Version:
Config/com/ibm/broker/config/proxy/AccessControlEntryPrincipalType.java, CMP, S000 1.8
See Also:
AdministeredObject#setAccessControlEntries(AccessControlEntry[])

Field Summary
static AccessControlEntryPrincipalType group
          States that the name component of the access control entry to which this principal type is related is an operating system group.
static AccessControlEntryPrincipalType user
          States that the name component of the access control entry to which this principal type is related is a user.
 
Method Summary
static AccessControlEntryPrincipalType getAccessControlEntryPrincipalType(java.lang.String principalString)
          Get an AccessControlEntryPrincipalType object from a textual representation.
 java.lang.String toString()
          Return a textual representation of the principal type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

user

public static final AccessControlEntryPrincipalType user
States that the name component of the access control entry to which this principal type is related is a user.


group

public static final AccessControlEntryPrincipalType group
States that the name component of the access control entry to which this principal type is related is an operating system group.

Method Detail

toString

public final java.lang.String toString()
Return a textual representation of the principal type.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the principal type

getAccessControlEntryPrincipalType

public static final AccessControlEntryPrincipalType getAccessControlEntryPrincipalType(java.lang.String principalString)
Get an AccessControlEntryPrincipalType object from a textual representation. The constants are defined in the AttributeConstants interface.

Parameters:
principalString - String representation of a principal type as returned by AccessControlEntryPrincipalType.toString().
Returns:
AccessControlEntryPrincipalType constant which corresponds to the string passed in or null, if no such principal type exists.