Interface PasswordWarning
-
- All Superinterfaces:
Serializable
public interface PasswordWarning extends Serializable
A container for password warning information.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getGraceAuthNsRemaining()
Returns the number of remaining authentications before the account will be locked.int
getTimeBeforeExpiration()
Returns the number of seconds before the password will expire.boolean
isChangeAfterReset()
Returns true, if a password reset is required.
-
-
-
Method Detail
-
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
-
-