com.xml_project.morganaxproc.security
Enum XProcSecurityManager.Strategies

java.lang.Object
  extended by java.lang.Enum<XProcSecurityManager.Strategies>
      extended by com.xml_project.morganaxproc.security.XProcSecurityManager.Strategies
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XProcSecurityManager.Strategies>
Enclosing class:
XProcSecurityManager

public static enum XProcSecurityManager.Strategies
extends java.lang.Enum<XProcSecurityManager.Strategies>

The basic security strategies implemented by XProcSecurityManager


Enum Constant Summary
AUTHORITARIAN
          An XProcSecurityManager with an authorian strategy forbids every operation on every uri except it is explicitly allowed by an added security rule.
LIBERAL
          An XProcSecurityManager with a liberal strategy allows every operation on every uri except it is explicitly forbidden by an added security rule.
 
Method Summary
static XProcSecurityManager.Strategies valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XProcSecurityManager.Strategies[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LIBERAL

public static final XProcSecurityManager.Strategies LIBERAL
An XProcSecurityManager with a liberal strategy allows every operation on every uri except it is explicitly forbidden by an added security rule.


AUTHORITARIAN

public static final XProcSecurityManager.Strategies AUTHORITARIAN
An XProcSecurityManager with an authorian strategy forbids every operation on every uri except it is explicitly allowed by an added security rule.

Method Detail

values

public static XProcSecurityManager.Strategies[] 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 (XProcSecurityManager.Strategies c : XProcSecurityManager.Strategies.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XProcSecurityManager.Strategies 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