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
  • Enum Constant Details

    • TOKEN_ONLY

      In this mode, only the token will be taken in account. If no token is found, authentication will not be considered done
    • 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
  • Method Details

    • values

      Returns 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
    • valueOf

      Returns 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