Package com.sap.security.um.user
Enum PasswordCheckResult
- All Implemented Interfaces:
Serializable
,Comparable<PasswordCheckResult>
,Constable
This enumeration provides the codes of a password check operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthentication failed with reason other than the reasons described above.The initial password has expired.The time-based one-time password (TOTP) code is not provided, but Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.Wrong TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.The provided password requires reset.The provided password is valid, but has to be changed.The password of the user is disabled.The password is expired because max.The password is locked because of too many failed password checks.The provided password is valid.The provided password does not match the stored password.Denied due to a risk-based authentication rule.Already used TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.The user is in status inactive. -
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordCheckResult
Returns the enum constant of this type with the specified name.static PasswordCheckResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PWD_DISABLED
The password of the user is disabled. -
PWD_EXPIRED
The password is expired because max. idle time is exceeded. -
PWD_LOCKED
The password is locked because of too many failed password checks. -
PWD_WRONG
The provided password does not match the stored password. -
PWD_CHANGE_REQUIRED
The provided password is valid, but has to be changed. -
PWD_OK
The provided password is valid. -
USER_INACTIVE
The user is in status inactive. -
FAILED_UNKNOWN_REASON
Authentication failed with reason other than the reasons described above. -
PASSWORD_RESET_REQUIRED
The provided password requires reset. -
INITIAL_PWD_EXPIRED
The initial password has expired. -
RBA_RULE_ACTION_DENY
Denied due to a risk-based authentication rule. -
INVALID_AUTHORIZATION_HEADER_LENGTH
The time-based one-time password (TOTP) code is not provided, but Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant. -
INVALID_OTP_CODE
Wrong TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant. -
USED_OTP_CODE
Already used TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-