public interface UniqueCharactersPasswordValidatorCfg extends PasswordValidatorCfg
The Unique Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of unique characters that it contains.
Modifier and Type | Method and Description |
---|---|
void |
addUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
Register to be notified when this Unique Characters Password Validator is changed.
|
Class<? extends UniqueCharactersPasswordValidatorCfg> |
configurationClass()
Gets the configuration class associated with this Unique Characters Password Validator.
|
String |
getJavaClass()
Gets the "java-class" property.
|
int |
getMinUniqueCharacters()
Gets the "min-unique-characters" property.
|
boolean |
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.
|
void |
removeUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
Deregister an existing Unique Characters Password Validator configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends UniqueCharactersPasswordValidatorCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface PasswordValidatorCfg
void addUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
listener
- The Unique Characters Password Validator configuration change listener.void removeUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
listener
- The Unique Characters Password Validator configuration change listener.boolean isCaseSensitiveValidation()
Indicates whether this password validator should treat password characters in a case-sensitive manner.
A value of true indicates that the validator does not consider a capital letter to be the same as its lower-case counterpart. A value of false indicates that the validator ignores differences in capitalization when looking at the number of unique characters in the password.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfg
int getMinUniqueCharacters()
Specifies the minimum number of unique characters that a password will be allowed to contain.
A value of zero indicates that no minimum value is enforced.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.