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.StringgetJavaClass()Gets the "java-class" property.IntegergetMinPasswordDifference()Gets the "min-password-difference" property.voidsetJavaClass(String value)Sets the "java-class" property.voidsetMinPasswordDifference(int 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:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfacePasswordValidatorCfgClient- Returns:
- Returns the configuration definition associated with this Similarity Based Password Validator.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the password validator implementation.
- Specified by:
getJavaClassin interfacePasswordValidatorCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
void setJavaClass(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:
setJavaClassin interfacePasswordValidatorCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getMinPasswordDifference
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
void setMinPasswordDifference(int value) throws PropertyExceptionSets 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.
-
-