public static enum AuthorizationResponse.Status extends java.lang.Enum<AuthorizationResponse.Status>
PERMIT
means that authorization is granted.DENY
means that authorization is positively denied.INDETERMINATE
means that permission is neither granted nor
denied. If a consumer receives this code, it may decide to try other means
to get a positive decision, permit or deny.INDETERMINATE
status is treated exactly the same as
the DENY
status. This is expected to change in the near future.Enum Constant and Description |
---|
DENY |
INDETERMINATE |
PERMIT |
Modifier and Type | Method and Description |
---|---|
static AuthorizationResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationResponse.Status PERMIT
public static final AuthorizationResponse.Status DENY
public static final AuthorizationResponse.Status INDETERMINATE
public static AuthorizationResponse.Status[] values()
for (AuthorizationResponse.Status c : AuthorizationResponse.Status.values()) System.out.println(c);
public static AuthorizationResponse.Status 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 null