public interface PasswordValidatorCfg extends Configuration
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.
Modifier and Type | Method and 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.
|
dn, name
Class<? extends PasswordValidatorCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
listener
- The Password Validator configuration change listener.void removeChangeListener(ConfigurationChangeListener<PasswordValidatorCfg> listener)
listener
- The Password Validator configuration change listener.boolean isEnabled()
Indicates whether the password validator is enabled for use.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
Copyright 2010-2020 ForgeRock AS.