final class PasswordWarningImpl extends java.lang.Object implements PasswordWarning
PasswordWarning.| Modifier and Type | Field and Description |
|---|---|
private boolean |
changeAfterReset |
private int |
graceAuthNsRemaining |
private static long |
serialVersionUID |
private int |
timeBeforeExpiration |
| Modifier | Constructor and Description |
|---|---|
private |
PasswordWarningImpl() |
| Modifier and Type | Method and 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.
|
(package private) static PasswordWarning |
newWarning(PasswordPolicy policy) |
private static final long serialVersionUID
private int timeBeforeExpiration
private int graceAuthNsRemaining
private boolean changeAfterReset
static PasswordWarning newWarning(PasswordPolicy policy)
public int getTimeBeforeExpiration()
PasswordWarninggetTimeBeforeExpiration in interface PasswordWarningpublic int getGraceAuthNsRemaining()
PasswordWarninggetGraceAuthNsRemaining in interface PasswordWarningpublic boolean isChangeAfterReset()
PasswordWarningisChangeAfterReset in interface PasswordWarning