Enum PolicyBasedAccessControlRequestFilter
- java.lang.Object
-
- java.lang.Enum<PolicyBasedAccessControlRequestFilter>
-
- org.opends.server.authorization.policy.PolicyBasedAccessControlRequestFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<PolicyBasedAccessControlRequestFilter>
,RequestFilter
public enum PolicyBasedAccessControlRequestFilter extends Enum<PolicyBasedAccessControlRequestFilter> implements RequestFilter
A singletonRequestFilter
which is always present in the global router and is responsible for delegating access control decisions to the policy based access control handler,PolicyBasedAccessControlHandler
, if enabled, or simply forwarding requests if the handler is disabled. ThePolicyBasedAccessControlHandler
registers itself with this filter when it is enabled in the configuration by callingenable(org.opends.server.api.RequestFilter)
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance ofPolicyBasedAccessControlHandlerFilter
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyBasedAccessControlRequestFilter
valueOf(String name)
Returns the enum constant of this type with the specified name.static PolicyBasedAccessControlRequestFilter[]
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 interface org.opends.server.api.RequestFilter
filter
-
-
-
-
Enum Constant Detail
-
INSTANCE
public static final PolicyBasedAccessControlRequestFilter INSTANCE
The singleton instance ofPolicyBasedAccessControlHandlerFilter
.
-
-
Method Detail
-
values
public static PolicyBasedAccessControlRequestFilter[] 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 (PolicyBasedAccessControlRequestFilter c : PolicyBasedAccessControlRequestFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyBasedAccessControlRequestFilter valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-