Interface PasswordWarning
- All Superinterfaces:
Serializable
A container for password warning information.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of remaining authentications before the account will be locked.intReturns the number of seconds before the password will expire.booleanReturns 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
-