Enum Class MfaStatus

java.lang.Object
java.lang.Enum<MfaStatus>
eu.rarogsoftware.rarog.platform.api.security.mfa.MfaStatus
All Implemented Interfaces:
Serializable, Comparable<MfaStatus>, Constable

public enum MfaStatus extends Enum<MfaStatus>
Current status of MFA authentication for logged-in user. Used internally by MfaStore and MFA related filters and servlets
See Also:
  • Enum Constant Details

    • MFA_DISABLED

      public static final MfaStatus MFA_DISABLED
      MFA is disabled in system or for current user
    • MFA_NOT_PASSED

      public static final MfaStatus MFA_NOT_PASSED
      MFA is enabled and configured but user didn't pass it yet.
    • MFA_NEED_TO_BE_CONFIGURED

      public static final MfaStatus MFA_NEED_TO_BE_CONFIGURED
      MFA is enabled but is not configured for current user. User need to configure at least one method.
    • MFA_PASSED

      public static final MfaStatus MFA_PASSED
      MFA passed for current user, so user can access system.
  • Method Details

    • values

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