public enum AuthorizationResult extends java.lang.Enum<AuthorizationResult>
Enum Constant and Description |
---|
ALLOW |
DEFAULT_ALLOW |
DEFAULT_DENY |
DENY |
DENY_SENT_RESPONSE |
NONE |
Modifier and Type | Method and Description |
---|---|
boolean |
isFail() |
boolean |
isFallthrough() |
boolean |
isResponseSent() |
static AuthorizationResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationResult NONE
public static final AuthorizationResult ALLOW
public static final AuthorizationResult DENY
public static final AuthorizationResult DENY_SENT_RESPONSE
public static final AuthorizationResult DEFAULT_DENY
public static final AuthorizationResult DEFAULT_ALLOW
public static AuthorizationResult[] values()
for (AuthorizationResult c : AuthorizationResult.values()) System.out.println(c);
public static AuthorizationResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isFail()
public boolean isFallthrough()
public boolean isResponseSent()