org.opends.server.admin.std.client
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
 ManagedObjectDefinition<? extends SimilarityBasedPasswordValidatorCfgClient,? extends SimilarityBasedPasswordValidatorCfg> definition()
          Get the configuration definition associated with this Similarity Based Password Validator.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.lang.Integer getMinPasswordDifference()
          Gets the "min-password-difference" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 void setMinPasswordDifference(int value)
          Sets the "min-password-difference" property.
 
Methods inherited from interface org.opends.server.admin.std.client.PasswordValidatorCfgClient
isEnabled, setEnabled
 
Methods inherited from interface org.opends.server.admin.ConfigurationClient
commit, properties
 

Method Detail

definition

ManagedObjectDefinition<? extends SimilarityBasedPasswordValidatorCfgClient,? extends SimilarityBasedPasswordValidatorCfg> definition()
Get the configuration definition associated with this Similarity Based Password Validator.

Specified by:
definition in interface ConfigurationClient
Specified by:
definition in interface PasswordValidatorCfgClient
Returns:
Returns the configuration definition associated with this Similarity Based Password Validator.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the password validator implementation.

Specified by:
getJavaClass in interface PasswordValidatorCfgClient
Returns:
Returns the value of the "java-class" property.

setJavaClass

void setJavaClass(java.lang.String value)
                  throws IllegalPropertyValueException
Sets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the password validator implementation.

Specified by:
setJavaClass in interface PasswordValidatorCfgClient
Parameters:
value - The value of the "java-class" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getMinPasswordDifference

java.lang.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 IllegalPropertyValueException
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:
IllegalPropertyValueException - If the new value is invalid.