Package org.ametys.core.authentication
Enum Class AuthenticateAction.TOKEN_MODE
java.lang.Object
java.lang.Enum<AuthenticateAction.TOKEN_MODE>
org.ametys.core.authentication.AuthenticateAction.TOKEN_MODE
- All Implemented Interfaces:
- Serializable,- Comparable<AuthenticateAction.TOKEN_MODE>,- java.lang.constant.Constable
- Enclosing class:
- AuthenticateAction
The token mode of this authentication action
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIn 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 doneIn this default mode, the token will be taken in account, but if no token is found, the authentication process will continueIn this mode, only the token will be taken in account.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AuthenticateAction.TOKEN_MODE[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
TOKEN_ONLYIn this mode, only the token will be taken in account. If no token is found, authentication will not be considered done
- 
ALLOW_ANONYMOUSIn 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
- 
DEFAULTIn this default mode, the token will be taken in account, but if no token is found, the authentication process will continue
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-