public enum PasswordCheckResult extends Enum<PasswordCheckResult>
Enum Constant and Description |
---|
FAILED_UNKNOWN_REASON
Authentication failed with reason other than the reasons described above.
|
INITIAL_PWD_EXPIRED
The initial password has expired.
|
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.
|
PASSWORD_RESET_REQUIRED
The provided password requires reset.
|
PWD_CHANGE_REQUIRED
The provided password is valid, but has to be changed.
|
PWD_DISABLED
The password of the user is disabled.
|
PWD_EXPIRED
The password is expired because max.
|
PWD_LOCKED
The password is locked because of too many failed password checks.
|
PWD_OK
The provided password is valid.
|
PWD_WRONG
The provided password does not match the stored password.
|
RBA_RULE_ACTION_DENY
Denied due to a risk-based authentication rule.
|
USER_INACTIVE
The user is in status inactive.
|
Modifier and Type | Method and Description |
---|---|
static PasswordCheckResult |
valueOf(String name)
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.
|
public static final PasswordCheckResult PWD_DISABLED
public static final PasswordCheckResult PWD_EXPIRED
public static final PasswordCheckResult PWD_LOCKED
public static final PasswordCheckResult PWD_WRONG
public static final PasswordCheckResult PWD_CHANGE_REQUIRED
public static final PasswordCheckResult PWD_OK
public static final PasswordCheckResult USER_INACTIVE
public static final PasswordCheckResult FAILED_UNKNOWN_REASON
public static final PasswordCheckResult PASSWORD_RESET_REQUIRED
public static final PasswordCheckResult INITIAL_PWD_EXPIRED
public static final PasswordCheckResult RBA_RULE_ACTION_DENY
public static final PasswordCheckResult INVALID_AUTHORIZATION_HEADER_LENGTH
public static final PasswordCheckResult INVALID_OTP_CODE
public static PasswordCheckResult[] values()
for (PasswordCheckResult c : PasswordCheckResult.values()) System.out.println(c);
public static PasswordCheckResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 SAP. All rights reserved.