Interface PasswordWarning

All Superinterfaces:
Serializable

public interface PasswordWarning extends Serializable
A container for password warning information.
Author:
Apache Directory Project
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of remaining authentications before the account will be locked.
    int
    Returns the number of seconds before the password will expire.
    boolean
    Returns true, if a password reset is required.
  • Method Details

    • getTimeBeforeExpiration

      int getTimeBeforeExpiration()
      Returns the number of seconds before the password will expire.
      Returns:
      The number of seconds before the password will expire
    • getGraceAuthNsRemaining

      int getGraceAuthNsRemaining()
      Returns the number of remaining authentications before the account will be locked.
      Returns:
      The number of authentications before lockout
    • isChangeAfterReset

      boolean isChangeAfterReset()
      Returns true, if a password reset is required.
      Returns:
      True, if a password reset is required