Interface RepeatedCharactersPasswordValidatorCfg
-
- All Superinterfaces:
Configuration
,PasswordValidatorCfg
public interface RepeatedCharactersPasswordValidatorCfg extends PasswordValidatorCfg
A server-side interface for querying 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 void
addRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Register to be notified when this Repeated Characters Password Validator is changed.Class<? extends RepeatedCharactersPasswordValidatorCfg>
configurationClass()
Gets the configuration class associated with this Repeated Characters Password Validator.String
getJavaClass()
Gets the "java-class" property.int
getMaxConsecutiveLength()
Gets the "max-consecutive-length" property.boolean
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.void
removeRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Deregister an existing Repeated Characters Password Validator configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.PasswordValidatorCfg
addChangeListener, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends RepeatedCharactersPasswordValidatorCfg> configurationClass()
Gets the configuration class associated with this Repeated Characters Password Validator.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfacePasswordValidatorCfg
- Returns:
- Returns the configuration class associated with this Repeated Characters Password Validator.
-
addRepeatedCharactersChangeListener
void addRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Register to be notified when this Repeated Characters Password Validator is changed.- Parameters:
listener
- The Repeated Characters Password Validator configuration change listener.
-
removeRepeatedCharactersChangeListener
void removeRepeatedCharactersChangeListener(ConfigurationChangeListener<RepeatedCharactersPasswordValidatorCfg> listener)
Deregister an existing Repeated Characters Password Validator configuration change listener.- Parameters:
listener
- The Repeated 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.
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.
-
getJavaClass
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 interfacePasswordValidatorCfg
- Returns:
- Returns the value of the "java-class" property.
-
getMaxConsecutiveLength
int 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.
-
-