|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Result>
org.apache.qpid.server.security.Result
public enum Result
The result of a security plugin decision, normally ALLOWED
or DENIED
.
Enum Constant Summary | |
---|---|
ABSTAIN
Indicates that a plugin does not handle a particular type of request. |
|
ALLOWED
The request is allowed. |
|
DEFER
A plugin instance cannot make a decision on a request it is able to handle, and another instance of the plugin should be checked. |
|
DENIED
The request is denied. |
Method Summary | |
---|---|
static Result |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Result[] |
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 |
---|
public static final Result ALLOWED
public static final Result DENIED
public static final Result ABSTAIN
public static final Result DEFER
Method Detail |
---|
public static Result[] values()
for (Result c : Result.values()) System.out.println(c);
public static Result valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |