Interface PasswordAuthenticatorProtectionStatus.LastAttemptFailed

All Superinterfaces:
PasswordAuthenticatorProtectionStatus
Enclosing interface:
PasswordAuthenticatorProtectionStatus

public static interface PasswordAuthenticatorProtectionStatus.LastAttemptFailed extends PasswordAuthenticatorProtectionStatus
And invalid password was provided previously. This may imply that an attacker is trying to use the password authenticator.
  • Method Details

    • remainingRetries

      int remainingRetries()
      The number of remaining retries available.
      Returns:
      the remaining retries
    • coolDownTimeInSeconds

      long coolDownTimeInSeconds()
      The time that must be passed before the user can try to provide credentials again.

      If the value is 0, it means that no cool-down is required, and that a new password can be provided immediately.

      Returns:
      time that must be passed before the user can try to provide credentials again