public enum AuthzStatus extends Enum<AuthzStatus>
Enum Constant and Description |
---|
DENY
The authorization is explicitly forbidden.
|
INDETERMINATE
Permission is neither granted nor forbidden.
|
PERMIT
The authorization is granted.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static AuthzStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthzStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthzStatus PERMIT
public static final AuthzStatus DENY
public static final AuthzStatus INDETERMINATE
PERMIT
or DENY
).public static AuthzStatus[] values()
for (AuthzStatus c : AuthzStatus.values()) System.out.println(c);
public static AuthzStatus 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 String getDescription()