|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LengthBasedPasswordValidatorCfg
A server-side interface for querying Length Based Password Validator settings.
The Length Based Password Validator is used to determine whether a proposed password is acceptable based on whether the number of characters it contains falls within an acceptable range of values.
Method Summary | |
---|---|
void |
addLengthBasedChangeListener(ConfigurationChangeListener<LengthBasedPasswordValidatorCfg> listener)
Register to be notified when this Length Based Password Validator is changed. |
java.lang.Class<? extends LengthBasedPasswordValidatorCfg> |
configurationClass()
Gets the configuration class associated with this Length Based Password Validator. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
int |
getMaxPasswordLength()
Gets the "max-password-length" property. |
int |
getMinPasswordLength()
Gets the "min-password-length" property. |
void |
removeLengthBasedChangeListener(ConfigurationChangeListener<LengthBasedPasswordValidatorCfg> listener)
Deregister an existing Length Based Password Validator configuration change listener. |
Methods inherited from interface org.opends.server.admin.std.server.PasswordValidatorCfg |
---|
addChangeListener, isEnabled, removeChangeListener |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends LengthBasedPasswordValidatorCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface PasswordValidatorCfg
void addLengthBasedChangeListener(ConfigurationChangeListener<LengthBasedPasswordValidatorCfg> listener)
listener
- The Length Based Password Validator configuration change listener.void removeLengthBasedChangeListener(ConfigurationChangeListener<LengthBasedPasswordValidatorCfg> listener)
listener
- The Length Based Password Validator configuration change listener.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfg
int getMaxPasswordLength()
Specifies the maximum number of characters that can be included in a proposed password.
A value of zero indicates that there will be no upper bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
int getMinPasswordLength()
Specifies the minimum number of characters that must be included in a proposed password.
A value of zero indicates that there will be no lower bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |