public enum AuthorizationResult extends Enum<AuthorizationResult>
Enum Constant and Description |
---|
ACCEPT
The access is allowed.
|
CONTINUE
The access is allowed "so far".
|
DEFAULT
The request should be handled according to the rules configured in
the AAA data model.
|
REJECT
The access is denied.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationResult |
getType(int l)
Get a DpAuthorizationResult for given int value or
null if the int value does not represent a enum.
|
int |
getValue()
Get the int value representation of this authorization result
|
static AuthorizationResult |
valueOf(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 ACCEPT
public static final AuthorizationResult REJECT
public static final AuthorizationResult CONTINUE
public static final AuthorizationResult DEFAULT
public static AuthorizationResult[] values()
for (AuthorizationResult c : AuthorizationResult.values()) System.out.println(c);
public static AuthorizationResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static AuthorizationResult getType(int l)
l
- int value for this enum