Enum Class PasswordResult

All Implemented Interfaces:
Serializable, Comparable<PasswordResult>, Constable

public enum PasswordResult extends Enum<PasswordResult>
Enumeration for a password verification result.

See Also:
  • Enum Constant Details

    • PasswordInvalid

      public static final PasswordResult PasswordInvalid
      The password is invalid.
    • LoginThrottling

      public static final PasswordResult LoginThrottling
      The attempt was not processed because of throttling.
    • PasswordValid

      public static final PasswordResult PasswordValid
      The password is valid.
  • Method Details

    • values

      public static PasswordResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PasswordResult 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.