public enum AuthStatus extends Enum<AuthStatus>
Enum Constant and Description |
---|
CHALLENGED
Indicates that the request should be rejected and an authentication challenge has been sent.
|
FAILURE
Indicates that the request should be rejected without an authentication challenge.
|
SUCCESS
Indicates that the request should be accepted.
|
Modifier and Type | Method and Description |
---|---|
static AuthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthStatus CHALLENGED
public static final AuthStatus SUCCESS
public static final AuthStatus FAILURE
public static AuthStatus[] values()
for (AuthStatus c : AuthStatus.values()) System.out.println(c);
public static AuthStatus 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 null