Interface PasswordValidatorCfg
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
AttributeValuePasswordValidatorCfg,CharacterSetPasswordValidatorCfg,DictionaryPasswordValidatorCfg,LengthBasedPasswordValidatorCfg,RepeatedCharactersPasswordValidatorCfg,SimilarityBasedPasswordValidatorCfg,UniqueCharactersPasswordValidatorCfg
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
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Password Validator is changed.Class<? extends PasswordValidatorCfg>Gets the configuration class associated with this Password Validator.Gets the "java-class" property.booleanGets the "enabled" property.voidDeregister an existing Password Validator configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Method Details
-
configurationClass
Class<? extends PasswordValidatorCfg> configurationClass()Gets the configuration class associated with this Password Validator.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Password Validator.
-
addChangeListener
Register to be notified when this Password Validator is changed.- Parameters:
listener- The Password Validator configuration change listener.
-
removeChangeListener
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.
-