public interface LengthBasedPasswordValidatorCfgClient extends PasswordValidatorCfgClient
The Length Based Password Validator is used to determine whether a proposed password is acceptable based on whether the number of characters it contains falls within an acceptable range of values.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends LengthBasedPasswordValidatorCfgClient,? extends LengthBasedPasswordValidatorCfg> |
definition()
Get the configuration definition associated with this Length Based Password Validator.
|
String |
getJavaClass()
Gets the "java-class" property.
|
int |
getMaxPasswordLength()
Gets the "max-password-length" property.
|
int |
getMinPasswordLength()
Gets the "min-password-length" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setMaxPasswordLength(Integer value)
Sets the "max-password-length" property.
|
void |
setMinPasswordLength(Integer value)
Sets the "min-password-length" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends LengthBasedPasswordValidatorCfgClient,? extends LengthBasedPasswordValidatorCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordValidatorCfgClient
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.int getMaxPasswordLength()
Specifies the maximum number of characters that can be included in a proposed password.
A value of zero indicates that there will be no upper bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
void setMaxPasswordLength(Integer value) throws PropertyException
Specifies the maximum number of characters that can be included in a proposed password.
A value of zero indicates that there will be no upper bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
value
- The value of the "max-password-length" property.PropertyException
- If the new value is invalid.int getMinPasswordLength()
Specifies the minimum number of characters that must be included in a proposed password.
A value of zero indicates that there will be no lower bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
void setMinPasswordLength(Integer value) throws PropertyException
Specifies the minimum number of characters that must be included in a proposed password.
A value of zero indicates that there will be no lower bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
value
- The value of the "min-password-length" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.