public interface AttributeValuePasswordValidatorCfg extends PasswordValidatorCfg
The Attribute Value Password Validator attempts to determine whether a proposed password is acceptable for use by determining whether that password is contained in any attribute within the user's entry.
Modifier and Type | Method and Description |
---|---|
void |
addAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
Register to be notified when this Attribute Value Password Validator is changed.
|
Class<? extends AttributeValuePasswordValidatorCfg> |
configurationClass()
Gets the configuration class associated with this Attribute Value Password Validator.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<AttributeType> |
getMatchAttribute()
Gets the "match-attribute" property.
|
int |
getMinSubstringLength()
Gets the "min-substring-length" property.
|
boolean |
isCheckSubstrings()
Gets the "check-substrings" property.
|
boolean |
isTestReversedPassword()
Gets the "test-reversed-password" property.
|
void |
removeAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
Deregister an existing Attribute Value Password Validator configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends AttributeValuePasswordValidatorCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface PasswordValidatorCfg
void addAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
listener
- The Attribute Value Password Validator configuration change listener.void removeAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
listener
- The Attribute Value Password Validator configuration change listener.boolean isCheckSubstrings()
Indicates whether this password validator is to match portions of the password string against attribute values.
If "false" then only match the entire password against attribute values otherwise ("true") check whether the password contains attribute values.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfg
SortedSet<AttributeType> getMatchAttribute()
Specifies the name(s) of the attribute(s) whose values should be checked to determine whether they match the provided password. If no values are provided, then the server checks if the proposed password matches the value of any attribute in the user's entry.
int getMinSubstringLength()
Indicates the minimal length of the substring within the password in case substring checking is enabled.
If "check-substrings" option is set to true, then this parameter defines the length of the smallest word which should be used for substring matching. Use with caution because values below 3 might disqualify valid passwords.
boolean isTestReversedPassword()
Indicates whether this password validator should test the reversed value of the provided password as well as the order in which it was given.
Copyright 2010-2020 ForgeRock AS.