org.opends.server.admin.std.server
Interface AttributeValuePasswordValidatorCfg

All Superinterfaces:
Configuration, PasswordValidatorCfg

public interface AttributeValuePasswordValidatorCfg
extends PasswordValidatorCfg

A server-side interface for querying Attribute Value Password Validator settings.

The Attribute Value Password Validator attempts to determine whether a proposed password is acceptable for use by determining whether that password is contained in any attribute within the user's entry.


Method Summary
 void addAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
          Register to be notified when this Attribute Value Password Validator is changed.
 java.lang.Class<? extends AttributeValuePasswordValidatorCfg> configurationClass()
          Gets the configuration class associated with this Attribute Value Password Validator.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.util.SortedSet<AttributeType> getMatchAttribute()
          Gets the "match-attribute" property.
 boolean isTestReversedPassword()
          Gets the "test-reversed-password" property.
 void removeAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
          Deregister an existing Attribute Value 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 AttributeValuePasswordValidatorCfg> configurationClass()
Gets the configuration class associated with this Attribute Value Password Validator.

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

addAttributeValueChangeListener

void addAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
Register to be notified when this Attribute Value Password Validator is changed.

Parameters:
listener - The Attribute Value Password Validator configuration change listener.

removeAttributeValueChangeListener

void removeAttributeValueChangeListener(ConfigurationChangeListener<AttributeValuePasswordValidatorCfg> listener)
Deregister an existing Attribute Value Password Validator configuration change listener.

Parameters:
listener - The Attribute Value Password Validator configuration change listener.

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.

getMatchAttribute

java.util.SortedSet<AttributeType> getMatchAttribute()
Gets the "match-attribute" property.

Specifies the name(s) of the attribute(s) whose values should be checked to determine whether they match the provided password. If no values are provided, then the server checks if the proposed password matches the value of any attribute in the user's entry.

Returns:
Returns an unmodifiable set containing the values of the "match-attribute" property.

isTestReversedPassword

boolean isTestReversedPassword()
Gets the "test-reversed-password" property.

Indicates whether this password validator should test the reversed value of the provided password as well as the order in which it was given.

Returns:
Returns the value of the "test-reversed-password" property.