Enum Class CredentialStatus
- All Implemented Interfaces:
Serializable, Comparable<CredentialStatus>, Constable
Lifecycle state of a stored credential.
The set matches Konzept §10. Each state is operator-driven and not set by the verification pipeline; the lifecycle service introduced in Prompt 021 owns the transition rules.
ACTIVE— normal useMUST_CHANGE— user must change password on next loginRESET_PENDING— reset token issued, awaiting consumptionCOMPROMISED— known-bad credential, no further loginLOCKED— temporary lockout (brute-force, admin)DISABLED— account explicitly disabledREHASH_REQUIRED— verification still allowed, rehash pendingDEPRECATED_ALGORITHM— algorithm deprecated; rehash will fix it
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic CredentialStatusReturns the enum constant of this class with the specified name.static CredentialStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
-
MUST_CHANGE
-
RESET_PENDING
-
COMPROMISED
-
LOCKED
-
DISABLED
-
REHASH_REQUIRED
-
DEPRECATED_ALGORITHM
-
-
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
-