public interface RepeatedCharactersPasswordValidatorCfgClient extends PasswordValidatorCfgClient
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.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends RepeatedCharactersPasswordValidatorCfgClient,? extends RepeatedCharactersPasswordValidatorCfg> |
definition()
Get the configuration definition associated with this Repeated Characters Password Validator.
|
String |
getJavaClass()
Gets the "java-class" property.
|
Integer |
getMaxConsecutiveLength()
Gets the "max-consecutive-length" property.
|
Boolean |
isCaseSensitiveValidation()
Gets the "case-sensitive-validation" property.
|
void |
setCaseSensitiveValidation(boolean value)
Sets the "case-sensitive-validation" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setMaxConsecutiveLength(int value)
Sets the "max-consecutive-length" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends RepeatedCharactersPasswordValidatorCfgClient,? extends RepeatedCharactersPasswordValidatorCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordValidatorCfgClient
Boolean isCaseSensitiveValidation()
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.
void setCaseSensitiveValidation(boolean value) throws PropertyException
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.
value
- The value of the "case-sensitive-validation" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
setJavaClass
in interface PasswordValidatorCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Integer getMaxConsecutiveLength()
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.
void setMaxConsecutiveLength(int value) throws PropertyException
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.
value
- The value of the "max-consecutive-length" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.