Enum Class StrongAuthPolicy.Device

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

public static enum StrongAuthPolicy.Device extends Enum<StrongAuthPolicy.Device>
What a client that cannot do the factors of the policy gets.
Author:
Christopher Mindus
  • Enum Constant Details

    • FLEXIBLE

      public static final StrongAuthPolicy.Device FLEXIBLE
      The client does what it can, never below the floor.
    • STRICT

      public static final StrongAuthPolicy.Device STRICT
      The client is refused before the password, and told which client would work.
  • Method Details

    • values

      public static StrongAuthPolicy.Device[] 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 StrongAuthPolicy.Device 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