Interface SimilarityBasedPasswordValidatorCfgClient
-
- All Superinterfaces:
ConfigurationClient
,PasswordValidatorCfgClient
public interface SimilarityBasedPasswordValidatorCfgClient extends PasswordValidatorCfgClient
A client-side interface for reading and modifying Similarity Based Password Validator settings.The Similarity Based Password Validator determines whether a proposed password is acceptable by measuring how similar it is to the user's current password.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends SimilarityBasedPasswordValidatorCfgClient,? extends SimilarityBasedPasswordValidatorCfg>
definition()
Get the configuration definition associated with this Similarity Based Password Validator.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<Integer>
getMinPasswordDifference()
Gets the "min-password-difference" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setMinPasswordDifference(ValueOrExpression<Integer> value)
Sets the "min-password-difference" 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 SimilarityBasedPasswordValidatorCfgClient,? extends SimilarityBasedPasswordValidatorCfg> definition()
Get the configuration definition associated with this Similarity Based Password Validator.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfacePasswordValidatorCfgClient
- Returns:
- Returns the configuration definition associated with this Similarity Based Password Validator.
-
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.SimilarityBasedPasswordValidator
- 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.
-
getMinPasswordDifference
@MandatoryProperty ValueOrExpression<Integer> getMinPasswordDifference()
Gets the "min-password-difference" property.Specifies the minimum difference of new and old password.
A value of zero indicates that no difference between passwords is acceptable.
- Returns:
- Returns the value of the "min-password-difference" property.
-
setMinPasswordDifference
@MandatoryProperty void setMinPasswordDifference(ValueOrExpression<Integer> value) throws PropertyException
Sets the "min-password-difference" property.Specifies the minimum difference of new and old password.
A value of zero indicates that no difference between passwords is acceptable.
- Parameters:
value
- The value of the "min-password-difference" property.- Throws:
PropertyException
- If the new value is invalid.
-
-