Interface UniqueCharactersPasswordValidatorCfgClient
-
- All Superinterfaces:
ConfigurationClient
,PasswordValidatorCfgClient
public interface UniqueCharactersPasswordValidatorCfgClient extends PasswordValidatorCfgClient
A client-side interface for reading and modifying Unique Characters Password Validator settings.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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends UniqueCharactersPasswordValidatorCfgClient,? extends UniqueCharactersPasswordValidatorCfg>
definition()
Get the configuration definition associated with this Unique Characters Password Validator.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<Integer>
getMinUniqueCharacters()
Gets the "min-unique-characters" property.ValueOrExpression<Boolean>
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.void
setCaseSensitiveValidation(ValueOrExpression<Boolean> value)
Sets the "case-sensitive-validation" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setMinUniqueCharacters(ValueOrExpression<Integer> value)
Sets the "min-unique-characters" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.PasswordValidatorCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends UniqueCharactersPasswordValidatorCfgClient,? extends UniqueCharactersPasswordValidatorCfg> definition()
Get the configuration definition associated with this Unique Characters Password Validator.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfacePasswordValidatorCfgClient
- Returns:
- Returns the configuration definition associated with this Unique Characters Password Validator.
-
isCaseSensitiveValidation
@MandatoryProperty ValueOrExpression<Boolean> isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.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.
- Returns:
- Returns the value of the "case-sensitive-validation" property.
-
setCaseSensitiveValidation
@MandatoryProperty void setCaseSensitiveValidation(ValueOrExpression<Boolean> value) throws PropertyException
Sets the "case-sensitive-validation" property.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.
- Parameters:
value
- The value of the "case-sensitive-validation" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
@MandatoryProperty ValueOrExpression<String> getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the password validator implementation.
Default value:
org.opends.server.extensions.UniqueCharactersPasswordValidator
- Specified by:
getJavaClass
in interfacePasswordValidatorCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the password validator implementation.
- Specified by:
setJavaClass
in interfacePasswordValidatorCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
getMinUniqueCharacters
@MandatoryProperty ValueOrExpression<Integer> getMinUniqueCharacters()
Gets the "min-unique-characters" property.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.
- Returns:
- Returns the value of the "min-unique-characters" property.
-
setMinUniqueCharacters
@MandatoryProperty void setMinUniqueCharacters(ValueOrExpression<Integer> value) throws PropertyException
Sets the "min-unique-characters" property.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.
- Parameters:
value
- The value of the "min-unique-characters" property.- Throws:
PropertyException
- If the new value is invalid.
-
-