Enum AuthenticateAction.TOKEN_MODE

    • Enum Constant Detail

      • ALLOW_ANONYMOUS

        public static final AuthenticateAction.TOKEN_MODE 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

        public static final AuthenticateAction.TOKEN_MODE DEFAULT
        In this default mode, the token will be taken in account, but if no token is found, the authentication process will continue
    • Method Detail

      • values

        public static AuthenticateAction.TOKEN_MODE[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AuthenticateAction.TOKEN_MODE c : AuthenticateAction.TOKEN_MODE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AuthenticateAction.TOKEN_MODE valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null