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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
Register to be notified when this Password Validator is changed.Class<? extends PasswordValidatorCfg>
configurationClass()
Gets the configuration class associated with this Password Validator.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.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends PasswordValidatorCfg> configurationClass()
Gets the configuration class associated with this Password Validator.- Specified by:
configurationClass
in interfaceConfiguration
- 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
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.
-
-