protected static enum AuthenticateAction.TOKEN_MODE extends Enum<AuthenticateAction.TOKEN_MODE>
Enum Constant and Description |
---|
ALLOW_ANONYMOUS
In this mode, the token will be taken in account but if no token is found, user will be considered as anonymous and authentication will be considered done
|
DEFAULT
In this default mode, the token will be taken in account, but if no token is found, the authentication process will continue
|
TOKEN_ONLY
In this mode, only the token will be taken in account.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticateAction.TOKEN_MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticateAction.TOKEN_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticateAction.TOKEN_MODE TOKEN_ONLY
public static final AuthenticateAction.TOKEN_MODE ALLOW_ANONYMOUS
public static final AuthenticateAction.TOKEN_MODE DEFAULT
public static AuthenticateAction.TOKEN_MODE[] values()
for (AuthenticateAction.TOKEN_MODE c : AuthenticateAction.TOKEN_MODE.values()) System.out.println(c);
public static AuthenticateAction.TOKEN_MODE 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