public interface AttributeValuePasswordValidatorCfgClient extends PasswordValidatorCfgClient
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 |
---|---|
ManagedObjectDefinition<? extends AttributeValuePasswordValidatorCfgClient,? extends AttributeValuePasswordValidatorCfg> |
definition()
Get the configuration definition associated with this Attribute Value Password Validator.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<ValueOrExpression<AttributeType>> |
getMatchAttribute()
Gets the "match-attribute" property.
|
ValueOrExpression<Integer> |
getMinSubstringLength()
Gets the "min-substring-length" property.
|
ValueOrExpression<Boolean> |
isCheckSubstrings()
Gets the "check-substrings" property.
|
ValueOrExpression<Boolean> |
isTestReversedPassword()
Gets the "test-reversed-password" property.
|
void |
setCheckSubstrings(ValueOrExpression<Boolean> value)
Sets the "check-substrings" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
void |
setMatchAttribute(Collection<ValueOrExpression<AttributeType>> values)
Sets the "match-attribute" property.
|
void |
setMinSubstringLength(ValueOrExpression<Integer> value)
Sets the "min-substring-length" property.
|
void |
setTestReversedPassword(ValueOrExpression<Boolean> value)
Sets the "test-reversed-password" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends AttributeValuePasswordValidatorCfgClient,? extends AttributeValuePasswordValidatorCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordValidatorCfgClient
ValueOrExpression<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.
void setCheckSubstrings(ValueOrExpression<Boolean> value) throws PropertyException
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.
value
- The value of the "check-substrings" property.PropertyException
- If the new value is invalid.ValueOrExpression<String> getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
setJavaClass
in interface PasswordValidatorCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.SortedSet<ValueOrExpression<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.
void setMatchAttribute(Collection<ValueOrExpression<AttributeType>> values) throws PropertyException
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.
values
- The values of the "match-attribute" property.PropertyException
- If one or more of the new values are invalid.ValueOrExpression<Integer> 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.
void setMinSubstringLength(ValueOrExpression<Integer> value) throws PropertyException
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.
value
- The value of the "min-substring-length" property.PropertyException
- If the new value is invalid.ValueOrExpression<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.
void setTestReversedPassword(ValueOrExpression<Boolean> value) throws PropertyException
Indicates whether this password validator should test the reversed value of the provided password as well as the order in which it was given.
value
- The value of the "test-reversed-password" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.