org.opends.server.admin.std.server
Interface UniqueCharactersPasswordValidatorCfg

All Superinterfaces:
Configuration, PasswordValidatorCfg

public interface UniqueCharactersPasswordValidatorCfg
extends PasswordValidatorCfg

A server-side interface for querying 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
 void addUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
          Register to be notified when this Unique Characters Password Validator is changed.
 java.lang.Class<? extends UniqueCharactersPasswordValidatorCfg> configurationClass()
          Gets the configuration class associated with this Unique Characters Password Validator.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 int getMinUniqueCharacters()
          Gets the "min-unique-characters" property.
 boolean isCaseSensitiveValidation()
          Gets the "case-sensitive-validation" property.
 void removeUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
          Deregister an existing Unique Characters Password Validator configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.PasswordValidatorCfg
addChangeListener, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends UniqueCharactersPasswordValidatorCfg> configurationClass()
Gets the configuration class associated with this Unique Characters Password Validator.

Specified by:
configurationClass in interface Configuration
Specified by:
configurationClass in interface PasswordValidatorCfg
Returns:
Returns the configuration class associated with this Unique Characters Password Validator.

addUniqueCharactersChangeListener

void addUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
Register to be notified when this Unique Characters Password Validator is changed.

Parameters:
listener - The Unique Characters Password Validator configuration change listener.

removeUniqueCharactersChangeListener

void removeUniqueCharactersChangeListener(ConfigurationChangeListener<UniqueCharactersPasswordValidatorCfg> listener)
Deregister an existing Unique Characters Password Validator configuration change listener.

Parameters:
listener - The Unique Characters Password Validator configuration change listener.

isCaseSensitiveValidation

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.

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 PasswordValidatorCfg
Returns:
Returns the value of the "java-class" property.

getMinUniqueCharacters

int 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.