public class PasswordPolicyBean extends AdsBaseBean
| Modifier and Type | Field and Description |
|---|---|
private boolean |
pwdAllowUserChange
indicates whether users can change their own passwords.
|
private java.lang.String |
pwdAttribute
the name of the attribute to which the password policy is applied.
|
private int |
pwdCheckQuality
indicates how the password quality will be verified while being modified or added.
|
private int |
pwdExpireWarning
the maximum number of seconds before a password is due to expire that expiration warning
messages will be returned to an authenticating user.
|
private int |
pwdFailureCountInterval
the number of seconds after which the password failures are purged from the failure counter.
|
private int |
pwdGraceAuthNLimit
the number of times an expired password can be used to authenticate.
|
private int |
pwdGraceExpire
specifies the number of seconds the grace authentications are valid
Default value is 0, no limit.
|
private java.lang.String |
pwdId
The PasswordPolicy unique identifier
|
private int |
pwdInHistory
specifies the maximum number of used passwords stored in the pwdHistory attribute.
|
private boolean |
pwdLockout
flag to indicate if the account needs to be locked after a specified number of
consecutive failed bind attempts.
|
private int |
pwdLockoutDuration
the number of seconds that the password cannot be used to authenticate due to
too many failed bind attempts.
|
private int |
pwdMaxAge
holds the number of seconds after which a modified password will expire.
|
private int |
pwdMaxDelay
the maximum number of seconds to delay when responding to a failed authentication attempt.
|
private int |
pwdMaxFailure
the number of consecutive failed bind attempts after which the password may not
be used to authenticate.
|
private int |
pwdMaxIdle
the number of seconds an account may remain unused before it becomes locked
Default value is 0, no check for idle time.
|
private int |
pwdMaxLength
this attribute holds the maximum number of characters that may be used in a password.
|
private int |
pwdMinAge
holds the number of seconds that must elapse between modifications to the password.
|
private int |
pwdMinDelay
the number of seconds to delay responding to the first failed authentication attempt
Default value 0, no delay.
|
private int |
pwdMinLength
this attribute holds the minimum number of characters that must be used in a password.
|
private boolean |
pwdMustChange
flag to indicate if the password must be changed by the user after they bind to the
directory after a password is set or reset by a password administrator.
|
private boolean |
pwdSafeModify
flag to specify whether or not the existing password must be sent along with the
new password when being changed.
|
private java.lang.String |
pwdValidator
the FQCN of the password validator
|
| Constructor and Description |
|---|
PasswordPolicyBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPwdAttribute() |
int |
getPwdCheckQuality() |
int |
getPwdExpireWarning() |
int |
getPwdFailureCountInterval() |
int |
getPwdGraceAuthNLimit() |
int |
getPwdGraceExpire() |
java.lang.String |
getPwdId() |
int |
getPwdInHistory() |
int |
getPwdLockoutDuration() |
int |
getPwdMaxAge() |
int |
getPwdMaxDelay() |
int |
getPwdMaxFailure() |
int |
getPwdMaxIdle() |
int |
getPwdMaxLength() |
int |
getPwdMinAge() |
int |
getPwdMinDelay() |
int |
getPwdMinLength() |
java.lang.String |
getPwdValidator() |
boolean |
isPwdAllowUserChange() |
boolean |
isPwdLockout() |
boolean |
isPwdMustChange() |
boolean |
isPwdSafeModify() |
void |
setPwdAllowUserChange(boolean pwdAllowUserChange) |
void |
setPwdAttribute(java.lang.String pwdAttribute) |
void |
setPwdCheckQuality(int pwdCheckQuality) |
void |
setPwdExpireWarning(int pwdExpireWarning) |
void |
setPwdFailureCountInterval(int pwdFailureCountInterval) |
void |
setPwdGraceAuthNLimit(int pwdGraceAuthNLimit) |
void |
setPwdGraceExpire(int pwdGraceExpire) |
void |
setPwdId(java.lang.String pwdId) |
void |
setPwdInHistory(int pwdInHistory) |
void |
setPwdLockout(boolean pwdLockout) |
void |
setPwdLockoutDuration(int pwdLockoutDuration) |
void |
setPwdMaxAge(int pwdMaxAge) |
void |
setPwdMaxDelay(int pwdMaxDelay) |
void |
setPwdMaxFailure(int pwdMaxFailure) |
void |
setPwdMaxIdle(int pwdMaxIdle) |
void |
setPwdMaxLength(int pwdMaxLength) |
void |
setPwdMinAge(int pwdMinAge) |
void |
setPwdMinDelay(int pwdMinDelay) |
void |
setPwdMinLength(int pwdMinLength) |
void |
setPwdMustChange(boolean pwdMustChange) |
void |
setPwdSafeModify(boolean pwdSafeModify) |
void |
setPwdValidator(java.lang.String pwdValidator)
Sets the password validator
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String tabs) |
getDescription, getDn, isDisabled, isEnabled, setDescription, setDn, setEnabled, toString, toString, toString, toString@ConfigurationElement(attributeType="ads-pwdId", isRdn=true) private java.lang.String pwdId
@ConfigurationElement(attributeType="ads-pwdAttribute") private java.lang.String pwdAttribute
@ConfigurationElement(attributeType="ads-pwdMinAge", isOptional=true, defaultValue="0") private int pwdMinAge
@ConfigurationElement(attributeType="ads-pwdMaxAge", isOptional=true, defaultValue="0") private int pwdMaxAge
@ConfigurationElement(attributeType="ads-pwdInHistory", isOptional=true, defaultValue="0") private int pwdInHistory
@ConfigurationElement(attributeType="ads-pwdCheckQuality", isOptional=true, defaultValue="0") private int pwdCheckQuality
@ConfigurationElement(attributeType="ads-pwdMinLength", isOptional=true, defaultValue="0") private int pwdMinLength
@ConfigurationElement(attributeType="ads-pwdMaxLength", isOptional=true, defaultValue="0") private int pwdMaxLength
@ConfigurationElement(attributeType="ads-pwdExpireWarning", isOptional=true, defaultValue="0") private int pwdExpireWarning
@ConfigurationElement(attributeType="ads-pwdGraceAuthNLimit", isOptional=true, defaultValue="0") private int pwdGraceAuthNLimit
@ConfigurationElement(attributeType="ads-pwdGraceExpire", isOptional=true, defaultValue="0") private int pwdGraceExpire
@ConfigurationElement(attributeType="ads-pwdLockout", isOptional=true, defaultValue="false") private boolean pwdLockout
pwdMaxFailure@ConfigurationElement(attributeType="ads-pwdLockoutDuration", isOptional=true, defaultValue="300") private int pwdLockoutDuration
@ConfigurationElement(attributeType="ads-pwdMaxFailure", isOptional=true, defaultValue="0") private int pwdMaxFailure
@ConfigurationElement(attributeType="ads-pwdFailureCountInterval", isOptional=true, defaultValue="0") private int pwdFailureCountInterval
@ConfigurationElement(attributeType="ads-pwdMustChange", isOptional=true, defaultValue="false") private boolean pwdMustChange
@ConfigurationElement(attributeType="ads-pwdAllowUserChange", isOptional=true, defaultValue="true") private boolean pwdAllowUserChange
@ConfigurationElement(attributeType="ads-pwdSafeModify", isOptional=true, defaultValue="false") private boolean pwdSafeModify
@ConfigurationElement(attributeType="ads-pwdMinDelay", isOptional=true, defaultValue="0") private int pwdMinDelay
@ConfigurationElement(attributeType="ads-pwdMaxDelay", isOptional=true, defaultValue="0") private int pwdMaxDelay
@ConfigurationElement(attributeType="ads-pwdMaxIdle", isOptional=true, defaultValue="0") private int pwdMaxIdle
@ConfigurationElement(attributeType="ads-pwdValidator", isOptional=true) private java.lang.String pwdValidator
public java.lang.String getPwdAttribute()
public void setPwdAttribute(java.lang.String pwdAttribute)
public int getPwdMinAge()
public void setPwdMinAge(int pwdMinAge)
public int getPwdMaxAge()
public void setPwdMaxAge(int pwdMaxAge)
public int getPwdInHistory()
public void setPwdInHistory(int pwdInHistory)
public int getPwdCheckQuality()
public void setPwdCheckQuality(int pwdCheckQuality)
public int getPwdMinLength()
public void setPwdMinLength(int pwdMinLength)
public int getPwdMaxLength()
public void setPwdMaxLength(int pwdMaxLength)
public int getPwdExpireWarning()
public void setPwdExpireWarning(int pwdExpireWarning)
public int getPwdGraceAuthNLimit()
public void setPwdGraceAuthNLimit(int pwdGraceAuthNLimit)
public int getPwdGraceExpire()
public void setPwdGraceExpire(int pwdGraceExpire)
public boolean isPwdLockout()
public void setPwdLockout(boolean pwdLockout)
public int getPwdLockoutDuration()
public void setPwdLockoutDuration(int pwdLockoutDuration)
public int getPwdMaxFailure()
public void setPwdMaxFailure(int pwdMaxFailure)
public int getPwdFailureCountInterval()
public void setPwdFailureCountInterval(int pwdFailureCountInterval)
public boolean isPwdMustChange()
public void setPwdMustChange(boolean pwdMustChange)
public boolean isPwdAllowUserChange()
public void setPwdAllowUserChange(boolean pwdAllowUserChange)
public boolean isPwdSafeModify()
public void setPwdSafeModify(boolean pwdSafeModify)
public int getPwdMinDelay()
public void setPwdMinDelay(int pwdMinDelay)
public int getPwdMaxDelay()
public void setPwdMaxDelay(int pwdMaxDelay)
public int getPwdMaxIdle()
public void setPwdMaxIdle(int pwdMaxIdle)
public java.lang.String getPwdId()
public void setPwdId(java.lang.String pwdId)
pwdId - the pwdId to setpublic java.lang.String getPwdValidator()
public void setPwdValidator(java.lang.String pwdValidator)
pwdValidator - the FQCN of the password validatorpublic java.lang.String toString(java.lang.String tabs)
toString in class AdsBaseBeanpublic java.lang.String toString()
toString in class AdsBaseBean