Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


oracle.security.jps.mas.permissions
Enum NodePermission.Category

java.lang.Object
  extended by java.lang.Enum<NodePermission.Category>
      extended by oracle.security.jps.mas.permissions.NodePermission.Category

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NodePermission.Category>
Enclosing class:
NodePermission

public static enum NodePermission.Category
extends java.lang.Enum<NodePermission.Category>

Actions for the NodePermission.

The actions are categorized based upon the behaviour of the methods on the System and Application Config MBeans.


Enum Constant Summary
ALL
          Ability to perform all of the operations.
CHANGE_CONFIG
          Ability to change the configuration data.
CHANGE_SECURITY_CONFIG
          Ability to change the security configuration data.
READ_CONFIG
          Ability to read configuration data
READ_SECURITY_CONFIG
          Ability to read security configuration data.

 

Method Summary
static int categorize(java.lang.String actions)
          Utility routine to convert the categories into an integer (canonical form).
static java.lang.String getActions(int category)
          Utility routine to return the actions in a string form.
static boolean implies(int this_category, int that)
           
static boolean isAllActions(int category)
           
static NodePermission.Category valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NodePermission.Category[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

ALL

public static final NodePermission.Category ALL
Ability to perform all of the operations.

READ_CONFIG

public static final NodePermission.Category READ_CONFIG
Ability to read configuration data

CHANGE_CONFIG

public static final NodePermission.Category CHANGE_CONFIG
Ability to change the configuration data.

READ_SECURITY_CONFIG

public static final NodePermission.Category READ_SECURITY_CONFIG
Ability to read security configuration data.

CHANGE_SECURITY_CONFIG

public static final NodePermission.Category CHANGE_SECURITY_CONFIG
Ability to change the security configuration data.

Method Detail

values

public static NodePermission.Category[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NodePermission.Category c : NodePermission.Category.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NodePermission.Category valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getActions

public static java.lang.String getActions(int category)
Utility routine to return the actions in a string form.
Parameters:
category -
Returns:
canonical actions.

categorize

public static int categorize(java.lang.String actions)
Utility routine to convert the categories into an integer (canonical form).
Parameters:
actions -
Returns:
integer canonical representation.

implies

public static boolean implies(int this_category,
                              int that)

isAllActions

public static boolean isAllActions(int category)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


Copyright © 2010, Oracle. All rights reserved.