Interface PasswordValidatorCfgClient
-
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
AttributeValuePasswordValidatorCfgClient,CharacterSetPasswordValidatorCfgClient,DictionaryPasswordValidatorCfgClient,LengthBasedPasswordValidatorCfgClient,RepeatedCharactersPasswordValidatorCfgClient,SimilarityBasedPasswordValidatorCfgClient,UniqueCharactersPasswordValidatorCfgClient
public interface PasswordValidatorCfgClient extends ConfigurationClient
A client-side interface for reading and modifying Password Validator settings.Password Validators are responsible for determining whether a proposed password is acceptable for use and could include checks like ensuring it meets minimum length requirements, that it has an appropriate range of characters, or that it is not in the history.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends PasswordValidatorCfgClient,? extends PasswordValidatorCfg>definition()Get the configuration definition associated with this Password Validator.StringgetJavaClass()Gets the "java-class" property.BooleanisEnabled()Gets the "enabled" property.voidsetEnabled(boolean value)Sets the "enabled" property.voidsetJavaClass(String value)Sets the "java-class" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends PasswordValidatorCfgClient,? extends PasswordValidatorCfg> definition()
Get the configuration definition associated with this Password Validator.- Specified by:
definitionin interfaceConfigurationClient- Returns:
- Returns the configuration definition associated with this Password Validator.
-
isEnabled
Boolean isEnabled()
Gets the "enabled" property.Indicates whether the password validator is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
void setEnabled(boolean value) throws PropertyExceptionSets the "enabled" property.Indicates whether the password validator is enabled for use.
- Parameters:
value- The value of the "enabled" property.- Throws:
PropertyException- If the new value is invalid.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the password validator implementation.
- 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.
- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
-