Enum Class FactorStrength

java.lang.Object
java.lang.Enum<FactorStrength>
com.irurueta.authserver.authorization.domain.mfa.FactorStrength
All Implemented Interfaces:
Serializable, Comparable<FactorStrength>, Constable

public enum FactorStrength extends Enum<FactorStrength>
How much an authentication factor proves on its own.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A factor that identifies the user but needs a second one, for example a password.
    A factor that is sufficient alone, for example a passkey: it is possession plus user verification.
    A factor that only stands in for a SECOND one at sign-in, for example a trusted device: it lets the sign-in policy be satisfied without asking for a code again, but proves nothing about this sign-in, so it is never reported in amr, acr or auth_time and never satisfies a step-up request.
    A factor that only counts once a PRIMARY factor has been presented, for example a TOTP code.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PRIMARY_STRONG

      public static final FactorStrength PRIMARY_STRONG
      A factor that is sufficient alone, for example a passkey: it is possession plus user verification.
    • PRIMARY

      public static final FactorStrength PRIMARY
      A factor that identifies the user but needs a second one, for example a password.
    • SECOND

      public static final FactorStrength SECOND
      A factor that only counts once a PRIMARY factor has been presented, for example a TOTP code.
    • REMEMBERED

      public static final FactorStrength REMEMBERED
      A factor that only stands in for a SECOND one at sign-in, for example a trusted device: it lets the sign-in policy be satisfied without asking for a code again, but proves nothing about this sign-in, so it is never reported in amr, acr or auth_time and never satisfies a step-up request.
  • Constructor Details

    • FactorStrength

      private FactorStrength()
  • Method Details

    • values

      public static FactorStrength[] 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 FactorStrength 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