Enum Class FailedSignInStep
- All Implemented Interfaces:
Serializable, Comparable<FailedSignInStep>, Constable
The step at which a sign-in to a known account failed (CC-SIGNIN-FAILED-ATTEMPTS, order 561): what the server records with the attempt and what the user is told in the list and the mails. Stored by name, so a step is never renamed.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe factors passed and the license refused the sign-in.A passkey was refused: as the second step after the password, or as the sign-in itself.The password was wrong, or the account is disabled or waits after too many failures.The factors passed and the sign-in was refused by a policy: the application does not admit the user, the strong policy's client rule, a method not allowed.The password was right and a recovery code was wrong.The password was right and the code of the authenticator app (or an SMS or e-mail code) was wrong or replayed.Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether the step comes after the password: a failure at it means that whoever tried KNEW the password ("almost signed in"), which is told the user every time.Method Summary
Modifier and TypeMethodDescriptionstatic FailedSignInStepGets a step by its stored name.static FailedSignInStepReturns the enum constant of this class with the specified name.static FailedSignInStep[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
PASSWORD
The password was wrong, or the account is disabled or waits after too many failures.SECOND_FACTOR
The password was right and the code of the authenticator app (or an SMS or e-mail code) was wrong or replayed.PASSKEY
A passkey was refused: as the second step after the password, or as the sign-in itself.RECOVERY_CODE
The password was right and a recovery code was wrong.POLICY
The factors passed and the sign-in was refused by a policy: the application does not admit the user, the strong policy's client rule, a method not allowed.LICENSE
The factors passed and the license refused the sign-in.
Field Details
afterPassword
public final boolean afterPasswordWhether the step comes after the password: a failure at it means that whoever tried KNEW the password ("almost signed in"), which is told the user every time.PASSKEYdepends on the path and is decided by the caller.
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
of
Gets a step by its stored name.- Parameters:
name- The name, null for none.- Returns:
- The step,
PASSWORDfor null or an unknown name.