final class PasswordWarningImpl extends 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(org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicy policy) |
private static final long serialVersionUID
private int timeBeforeExpiration
private int graceAuthNsRemaining
private boolean changeAfterReset
static PasswordWarning newWarning(org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicy policy)
public int getTimeBeforeExpiration()
getTimeBeforeExpiration in interface PasswordWarningpublic int getGraceAuthNsRemaining()
getGraceAuthNsRemaining in interface PasswordWarningpublic boolean isChangeAfterReset()
isChangeAfterReset in interface PasswordWarningCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.