public class PasswordPolicyAccountState extends AccountState
AccountState.DefaultWarning, AccountState.Error, AccountState.Warning
Modifier and Type | Field and Description |
---|---|
private PasswordPolicyControl.Error |
ppError
password policy specific enum.
|
Constructor and Description |
---|
PasswordPolicyAccountState(PasswordPolicyControl.Error error)
Creates a new password policy account state.
|
PasswordPolicyAccountState(ZonedDateTime exp,
int remaining)
Creates a new password policy account state.
|
Modifier and Type | Method and Description |
---|---|
PasswordPolicyControl.Error |
getPasswordPolicyError()
Returns the password policy error for this account state.
|
getError, getErrors, getWarning, getWarnings, toString
private final PasswordPolicyControl.Error ppError
public PasswordPolicyAccountState(ZonedDateTime exp, int remaining)
exp
- account expirationremaining
- number of logins availablepublic PasswordPolicyAccountState(PasswordPolicyControl.Error error)
error
- containing password policy error detailspublic PasswordPolicyControl.Error getPasswordPolicyError()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.