public class PasswordPolicyResponseImpl extends Object implements PasswordPolicyResponse
Constructor and Description |
---|
PasswordPolicyResponseImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getGraceAuthNsRemaining() |
PasswordPolicyErrorEnum |
getPasswordPolicyError() |
int |
getTimeBeforeExpiration() |
void |
setGraceAuthNsRemaining(int graceAuthNsRemaining)
Sets the number of remaining wrong authentication for this password
|
void |
setPasswordPolicyError(PasswordPolicyErrorEnum ppolicyError)
Sets the PasswordPolicy error number
|
void |
setTimeBeforeExpiration(int timeBeforeExpiration)
Set a date of expiration for the password
|
public PasswordPolicyResponseImpl()
public int getTimeBeforeExpiration()
getTimeBeforeExpiration
in interface PasswordPolicyResponse
public void setTimeBeforeExpiration(int timeBeforeExpiration)
setTimeBeforeExpiration
in interface PasswordPolicyResponse
timeBeforeExpiration
- The time before the password will expirepublic int getGraceAuthNsRemaining()
getGraceAuthNsRemaining
in interface PasswordPolicyResponse
public void setGraceAuthNsRemaining(int graceAuthNsRemaining)
setGraceAuthNsRemaining
in interface PasswordPolicyResponse
graceAuthNsRemaining
- The number of remaining attemptspublic PasswordPolicyErrorEnum getPasswordPolicyError()
getPasswordPolicyError
in interface PasswordPolicyResponse
public void setPasswordPolicyError(PasswordPolicyErrorEnum ppolicyError)
setPasswordPolicyError
in interface PasswordPolicyResponse
ppolicyError
- The error numberCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.