Enum Class AccountNotices.Kind
- All Implemented Interfaces:
Serializable, Comparable<AccountNotices.Kind>, Constable
- Enclosing class:
AccountNotices
What changed.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA device was trusted for the second step (S14 or S15).The user signed devices out: one, the others, or every one (S30, S12).The e-mail address was changed (the new address is the detail), mailed to the OLD address.The notices were turned on or off (S13).A passkey was created (S21).A passkey was removed.A passkey was renamed.The user changed the password (S08).The password was reset from a reset link (S07).An administrator set the password (ServerAdmin's Edit user).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).New recovery codes replaced the old ones (S20).An authenticator app was set up (S19).The authenticator app was removed (S13).An administrator reset the sign-in methods: devices, passkeys, authenticator app, recovery codes (DV-2).An administrator signed the user out of every device and ended the open sessions (DV-1).Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether the notice is sent whatever the user's setting (AM-1).Method Summary
Modifier and TypeMethodDescriptionstatic AccountNotices.KindReturns the enum constant of this class with the specified name.static AccountNotices.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
PASSWORD_CHANGED
The user changed the password (S08). Critical.PASSWORD_RESET
The password was reset from a reset link (S07). Critical.SECOND_FACTOR_ADDED
An authenticator app was set up (S19).SECOND_FACTOR_REMOVED
The authenticator app was removed (S13). Critical.RECOVERY_CODES_RENEWED
New recovery codes replaced the old ones (S20).PASSKEY_ADDED
A passkey was created (S21).PASSKEY_RENAMED
A passkey was renamed.PASSKEY_REMOVED
A passkey was removed. Critical.DEVICE_TRUSTED
A device was trusted for the second step (S14 or S15).DEVICES_SIGNED_OUT
The user signed devices out: one, the others, or every one (S30, S12).SIGNED_OUT_EVERYWHERE
An administrator signed the user out of every device and ended the open sessions (DV-1).SIGN_IN_METHODS_RESET
An administrator reset the sign-in methods: devices, passkeys, authenticator app, recovery codes (DV-2). Critical.NOTICES_SETTING_CHANGED
The notices were turned on or off (S13). Critical.PASSWORD_SET
An administrator set the password (ServerAdmin's Edit user). Critical.EMAIL_CHANGED
The e-mail address was changed (the new address is the detail), mailed to the OLD address. Critical.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 criticalWhether the notice is sent whatever the user's setting (AM-1).
Method Details
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
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 nameNullPointerException- if the argument is null