com.ibm.broker.config.proxy
Class AccessControlEntryPermission

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

public final class AccessControlEntryPermission
extends java.lang.Object

Defines a set of abilities over which security can be applied. Each instance represents a class of actions which, when associated with an AccessControlEntryPrincipalType and applied to an AdministeredObject, defines the level of control a principal has over the object.

com.ibm.broker.config.proxy.AccessControlEntryPermission

Responsibilities Describes the permission granted by 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/AccessControlEntryPermission.java, CMP, S000 1.8
See Also:
AdministeredObject#setAccessControlEntries(AccessControlEntry[])

Field Summary
static AccessControlEntryPermission deploy
          States that the permission granted by the access control entry to which this permission is related is 'deploy'.
static AccessControlEntryPermission edit
          States that the permission granted by the access control entry to which this permission is related is 'edit'.
static AccessControlEntryPermission fullControl
          States that the permission granted by the access control entry to which this permission is related is 'full control'.
static AccessControlEntryPermission view
          States that the permission granted by the access control entry to which this permission is related is 'view'.
 
Method Summary
static AccessControlEntryPermission getAccessControlEntryPermission(java.lang.String permissionString)
          Get an AccessControlEntryPermission object from a textual representation.
 java.lang.String toString()
          Return a textual representation of the permission.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fullControl

public static final AccessControlEntryPermission fullControl
States that the permission granted by the access control entry to which this permission is related is 'full control'.


deploy

public static final AccessControlEntryPermission deploy
States that the permission granted by the access control entry to which this permission is related is 'deploy'.


edit

public static final AccessControlEntryPermission edit
States that the permission granted by the access control entry to which this permission is related is 'edit'.


view

public static final AccessControlEntryPermission view
States that the permission granted by the access control entry to which this permission is related is 'view'.

Method Detail

toString

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

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

getAccessControlEntryPermission

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

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