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.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<Boolean>
isEnabled()
Gets the "enabled" property.void
setEnabled(ValueOrExpression<Boolean> value)
Sets the "enabled" property.void
setJavaClass(ValueOrExpression<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:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Password Validator.
-
isEnabled
@MandatoryProperty ValueOrExpression<Boolean> isEnabled()
Gets the "enabled" property.Indicates whether the password validator is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
@MandatoryProperty void setEnabled(ValueOrExpression<Boolean> value) throws PropertyException
Sets 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
@MandatoryProperty ValueOrExpression<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
@MandatoryProperty void setJavaClass(ValueOrExpression<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.
-
-