org.opends.server.admin.std.server
Interface PasswordValidatorCfg

All Superinterfaces:
Configuration
All Known Subinterfaces:
AttributeValuePasswordValidatorCfg, CharacterSetPasswordValidatorCfg, DictionaryPasswordValidatorCfg, LengthBasedPasswordValidatorCfg, RepeatedCharactersPasswordValidatorCfg, SimilarityBasedPasswordValidatorCfg, UniqueCharactersPasswordValidatorCfg

public interface PasswordValidatorCfg
extends Configuration

A server-side interface for querying Password Validator settings.

Password Validators are responsible for determining whether a proposed password is acceptable for use and could include checks like ensuring it meets minimum length requirements, that it has an appropriate range of characters, or that it is not in the history.


Method Summary
 void addChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
          Register to be notified when this Password Validator is changed.
 java.lang.Class<? extends PasswordValidatorCfg> configurationClass()
          Gets the configuration class associated with this Password Validator.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 boolean isEnabled()
          Gets the "enabled" property.
 void removeChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
          Deregister an existing Password Validator configuration change listener.
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends PasswordValidatorCfg> configurationClass()
Gets the configuration class associated with this Password Validator.

Specified by:
configurationClass in interface Configuration
Returns:
Returns the configuration class associated with this Password Validator.

addChangeListener

void addChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
Register to be notified when this Password Validator is changed.

Parameters:
listener - The Password Validator configuration change listener.

removeChangeListener

void removeChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
Deregister an existing Password Validator configuration change listener.

Parameters:
listener - The Password Validator configuration change listener.

isEnabled

boolean isEnabled()
Gets the "enabled" property.

Indicates whether the password validator is enabled for use.

Returns:
Returns the value of the "enabled" property.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the password validator implementation.

Returns:
Returns the value of the "java-class" property.