public interface RepeatedCharactersPasswordValidatorCfg extends PasswordValidatorCfg
The Repeated Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of times any character appears consecutively in a password value.
Modifier and Type | Method and Description |
---|---|
void |
addRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Register to be notified when this Repeated Characters Password Validator is changed.
|
Class<? extends RepeatedCharactersPasswordValidatorCfg> |
configurationClass()
Gets the configuration class associated with this Repeated Characters Password Validator.
|
String |
getJavaClass()
Gets the "java-class" property.
|
int |
getMaxConsecutiveLength()
Gets the "max-consecutive-length" property.
|
boolean |
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.
|
void |
removeRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Deregister an existing Repeated Characters Password Validator configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends RepeatedCharactersPasswordValidatorCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface PasswordValidatorCfg
void addRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
listener
- The Repeated Characters Password Validator configuration change listener.void removeRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
listener
- The Repeated Characters Password Validator configuration change listener.boolean isCaseSensitiveValidation()
Indicates whether this password validator should treat password characters in a case-sensitive manner.
If the value of this property is false, the validator ignores any differences in capitalization when looking for consecutive characters in the password. If the value is true, the validator considers a character to be repeating only if all consecutive occurrences use the same capitalization.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfg
int getMaxConsecutiveLength()
Specifies the maximum number of times that any character can appear consecutively in a password value.
A value of zero indicates that no maximum limit is enforced.
Copyright 2010-2017 ForgeRock AS.