Enum Class FailedSignInMails.LockPath

java.lang.Object
java.lang.Enum<FailedSignInMails.LockPath>
com.iizix.server.user.FailedSignInMails.LockPath
All Implemented Interfaces:
Serializable, Comparable<FailedSignInMails.LockPath>, Constable
Enclosing class:
FailedSignInMails

public static enum FailedSignInMails.LockPath extends Enum<FailedSignInMails.LockPath>
The paths that count a wrong password of an account and keep NO failed sign-in for it (CC-FIX-LOCK-PATHS-AND-RESET): a lock one of them starts is mailed with FailedSignInMails.lockBody(FailedSignInMails.LockPath, UserInfoBase, FailedSignInStore.Attempt, String, String, long).
Author:
Christopher Mindus
  • Enum Constant Details

    • CHANGE_PASSWORD

      public static final FailedSignInMails.LockPath CHANGE_PASSWORD
      A change of the password: the current password given was wrong.
    • REAUTHENTICATE

      public static final FailedSignInMails.LockPath REAUTHENTICATE
      A signed-in session was asked for its password again, and the one given was wrong.
    • PUSH_API

      public static final FailedSignInMails.LockPath PUSH_API
      A program signed in to the server with HTTP Basic (the Push API) and a wrong password.
  • Field Details

    • label

      public final String label
      The path as the server's log lines and security events name it.
  • Method Details

    • values

      public static FailedSignInMails.LockPath[] 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

      public static FailedSignInMails.LockPath valueOf(String name)
      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