Enum Class AccountNotices.Kind

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

public static enum AccountNotices.Kind extends Enum<AccountNotices.Kind>
What changed.
Author:
Christopher Mindus
  • Enum Constant Details

    • PASSWORD_CHANGED

      public static final AccountNotices.Kind PASSWORD_CHANGED
      The user changed the password (S08). Critical.
    • PASSWORD_RESET

      public static final AccountNotices.Kind PASSWORD_RESET
      The password was reset from a reset link (S07). Critical.
    • SECOND_FACTOR_ADDED

      public static final AccountNotices.Kind SECOND_FACTOR_ADDED
      An authenticator app was set up (S19).
    • SECOND_FACTOR_REMOVED

      public static final AccountNotices.Kind SECOND_FACTOR_REMOVED
      The authenticator app was removed (S13). Critical.
    • RECOVERY_CODES_RENEWED

      public static final AccountNotices.Kind RECOVERY_CODES_RENEWED
      New recovery codes replaced the old ones (S20).
    • PASSKEY_ADDED

      public static final AccountNotices.Kind PASSKEY_ADDED
      A passkey was created (S21).
    • PASSKEY_RENAMED

      public static final AccountNotices.Kind PASSKEY_RENAMED
      A passkey was renamed.
    • PASSKEY_REMOVED

      public static final AccountNotices.Kind PASSKEY_REMOVED
      A passkey was removed. Critical.
    • DEVICE_TRUSTED

      public static final AccountNotices.Kind DEVICE_TRUSTED
      A device was trusted for the second step (S14 or S15).
    • DEVICES_SIGNED_OUT

      public static final AccountNotices.Kind DEVICES_SIGNED_OUT
      The user signed devices out: one, the others, or every one (S30, S12).
    • SIGNED_OUT_EVERYWHERE

      public static final AccountNotices.Kind SIGNED_OUT_EVERYWHERE
      An administrator signed the user out of every device and ended the open sessions (DV-1).
    • SIGN_IN_METHODS_RESET

      public static final AccountNotices.Kind SIGN_IN_METHODS_RESET
      An administrator reset the sign-in methods: devices, passkeys, authenticator app, recovery codes (DV-2). Critical.
    • NOTICES_SETTING_CHANGED

      public static final AccountNotices.Kind NOTICES_SETTING_CHANGED
      The notices were turned on or off (S13). Critical.
    • PASSWORD_SET

      public static final AccountNotices.Kind PASSWORD_SET
      An administrator set the password (ServerAdmin's Edit user). Critical.
    • EMAIL_CHANGED

      public static final AccountNotices.Kind EMAIL_CHANGED
      The e-mail address was changed (the new address is the detail), mailed to the OLD address. Critical.
    • PREFERRED_FACTOR_CHANGED

      public static final AccountNotices.Kind PREFERRED_FACTOR_CHANGED
      The second factor the sign-in asks for first was chosen (CC-FIX-SIGNIN-2FA-CHOICE's "Ask me first for"): the method is the detail - "passkey", "totp", or null for the strongest the account has (CC-FIX-SIGNIN-ACCOUNT-MAIL).
  • Field Details

    • critical

      public final boolean critical
      Whether the notice is sent whatever the user's setting (AM-1).
  • Method Details

    • values

      public static AccountNotices.Kind[] 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 AccountNotices.Kind 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