Enum PasswordCheckResult

java.lang.Object
java.lang.Enum<PasswordCheckResult>
com.sap.security.um.user.PasswordCheckResult
All Implemented Interfaces:
Serializable, Comparable<PasswordCheckResult>, Constable

public enum PasswordCheckResult extends Enum<PasswordCheckResult>
This enumeration provides the codes of a password check operation.
  • Enum Constant Details

    • PWD_DISABLED

      public static final PasswordCheckResult PWD_DISABLED
      The password of the user is disabled.
    • PWD_EXPIRED

      public static final PasswordCheckResult PWD_EXPIRED
      The password is expired because max. idle time is exceeded.
    • PWD_LOCKED

      public static final PasswordCheckResult PWD_LOCKED
      The password is locked because of too many failed password checks.
    • PWD_WRONG

      public static final PasswordCheckResult PWD_WRONG
      The provided password does not match the stored password.
    • PWD_CHANGE_REQUIRED

      public static final PasswordCheckResult PWD_CHANGE_REQUIRED
      The provided password is valid, but has to be changed.
    • PWD_OK

      public static final PasswordCheckResult PWD_OK
      The provided password is valid.
    • USER_INACTIVE

      public static final PasswordCheckResult USER_INACTIVE
      The user is in status inactive.
    • FAILED_UNKNOWN_REASON

      public static final PasswordCheckResult FAILED_UNKNOWN_REASON
      Authentication failed with reason other than the reasons described above.
    • PASSWORD_RESET_REQUIRED

      public static final PasswordCheckResult PASSWORD_RESET_REQUIRED
      The provided password requires reset.
    • INITIAL_PWD_EXPIRED

      public static final PasswordCheckResult INITIAL_PWD_EXPIRED
      The initial password has expired.
    • RBA_RULE_ACTION_DENY

      public static final PasswordCheckResult RBA_RULE_ACTION_DENY
      Denied due to a risk-based authentication rule.
    • INVALID_AUTHORIZATION_HEADER_LENGTH

      public static final PasswordCheckResult 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

      public static final PasswordCheckResult INVALID_OTP_CODE
      Wrong TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.
    • USED_OTP_CODE

      public static final PasswordCheckResult USED_OTP_CODE
      Already used TOTP code was provided when Two-Factor Authentication (TFA) with TOTP is enabled in IAS tenant.
  • Method Details

    • values

      public static PasswordCheckResult[] 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

      public static PasswordCheckResult valueOf(String name)
      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 name
      NullPointerException - if the argument is null