Interface RepeatedCharactersPasswordValidatorCfgClient
-
- All Superinterfaces:
ConfigurationClient
,PasswordValidatorCfgClient
public interface RepeatedCharactersPasswordValidatorCfgClient extends PasswordValidatorCfgClient
A client-side interface for reading and modifying Repeated Characters Password Validator settings.The Repeated Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of times any character appears consecutively in a password value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends RepeatedCharactersPasswordValidatorCfgClient,? extends RepeatedCharactersPasswordValidatorCfg>
definition()
Get the configuration definition associated with this Repeated Characters Password Validator.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<Integer>
getMaxConsecutiveLength()
Gets the "max-consecutive-length" property.ValueOrExpression<Boolean>
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.void
setCaseSensitiveValidation(ValueOrExpression<Boolean> value)
Sets the "case-sensitive-validation" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setMaxConsecutiveLength(ValueOrExpression<Integer> value)
Sets the "max-consecutive-length" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.PasswordValidatorCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends RepeatedCharactersPasswordValidatorCfgClient,? extends RepeatedCharactersPasswordValidatorCfg> definition()
Get the configuration definition associated with this Repeated Characters Password Validator.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfacePasswordValidatorCfgClient
- Returns:
- Returns the configuration definition associated with this Repeated Characters Password Validator.
-
isCaseSensitiveValidation
@MandatoryProperty ValueOrExpression<Boolean> isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.Indicates whether this password validator should treat password characters in a case-sensitive manner.
If the value of this property is false, the validator ignores any differences in capitalization when looking for consecutive characters in the password. If the value is true, the validator considers a character to be repeating only if all consecutive occurrences use the same capitalization.
- Returns:
- Returns the value of the "case-sensitive-validation" property.
-
setCaseSensitiveValidation
@MandatoryProperty void setCaseSensitiveValidation(ValueOrExpression<Boolean> value) throws PropertyException
Sets the "case-sensitive-validation" property.Indicates whether this password validator should treat password characters in a case-sensitive manner.
If the value of this property is false, the validator ignores any differences in capitalization when looking for consecutive characters in the password. If the value is true, the validator considers a character to be repeating only if all consecutive occurrences use the same capitalization.
- Parameters:
value
- The value of the "case-sensitive-validation" 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.
Default value:
org.opends.server.extensions.RepeatedCharactersPasswordValidator
- Specified by:
getJavaClass
in interfacePasswordValidatorCfgClient
- 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.
- Specified by:
setJavaClass
in interfacePasswordValidatorCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
getMaxConsecutiveLength
@MandatoryProperty ValueOrExpression<Integer> getMaxConsecutiveLength()
Gets the "max-consecutive-length" property.Specifies the maximum number of times that any character can appear consecutively in a password value.
A value of zero indicates that no maximum limit is enforced.
- Returns:
- Returns the value of the "max-consecutive-length" property.
-
setMaxConsecutiveLength
@MandatoryProperty void setMaxConsecutiveLength(ValueOrExpression<Integer> value) throws PropertyException
Sets the "max-consecutive-length" property.Specifies the maximum number of times that any character can appear consecutively in a password value.
A value of zero indicates that no maximum limit is enforced.
- Parameters:
value
- The value of the "max-consecutive-length" property.- Throws:
PropertyException
- If the new value is invalid.
-
-