|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CharacterSetPasswordValidatorCfgClient
A client-side interface for reading and modifying Character Set Password Validator settings.
The Character Set Password Validator determines whether a proposed password is acceptable by checking whether it contains a sufficient number of characters from one or more user-defined character sets.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends CharacterSetPasswordValidatorCfgClient,? extends CharacterSetPasswordValidatorCfg> |
definition()
Get the configuration definition associated with this Character Set Password Validator. |
java.util.SortedSet<java.lang.String> |
getCharacterSet()
Gets the "character-set" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.lang.Boolean |
isAllowUnclassifiedCharacters()
Gets the "allow-unclassified-characters" property. |
void |
setAllowUnclassifiedCharacters(boolean value)
Sets the "allow-unclassified-characters" property. |
void |
setCharacterSet(java.util.Collection<java.lang.String> values)
Sets the "character-set" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
Methods inherited from interface org.opends.server.admin.std.client.PasswordValidatorCfgClient |
---|
isEnabled, setEnabled |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends CharacterSetPasswordValidatorCfgClient,? extends CharacterSetPasswordValidatorCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordValidatorCfgClient
java.lang.Boolean isAllowUnclassifiedCharacters()
Indicates whether this password validator allows passwords to contain characters outside of any of the user-defined character sets.
If this is "false", then only those characters in the user-defined character sets may be used in passwords. Any password containing a character not included in any character set will be rejected.
void setAllowUnclassifiedCharacters(boolean value) throws IllegalPropertyValueException
Indicates whether this password validator allows passwords to contain characters outside of any of the user-defined character sets.
If this is "false", then only those characters in the user-defined character sets may be used in passwords. Any password containing a character not included in any character set will be rejected.
value
- The value of the "allow-unclassified-characters" property.
IllegalPropertyValueException
- If the new value is invalid.java.util.SortedSet<java.lang.String> getCharacterSet()
Specifies a character set containing characters that a password may contain and a value indicating the minimum number of characters required from that set.
Each value must be an integer (indicating the minimum required characters from the set) followed by a colon and the characters to include in that set (for example, "3:abcdefghijklmnopqrstuvwxyz" indicates that a user password must contain at least three characters from the set of lowercase ASCII letters). Multiple character sets can be defined in separate values, although no character can appear in more than one character set.
void setCharacterSet(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
Specifies a character set containing characters that a password may contain and a value indicating the minimum number of characters required from that set.
Each value must be an integer (indicating the minimum required characters from the set) followed by a colon and the characters to include in that set (for example, "3:abcdefghijklmnopqrstuvwxyz" indicates that a user password must contain at least three characters from the set of lowercase ASCII letters). Multiple character sets can be defined in separate values, although no character can appear in more than one character set.
values
- The values of the "character-set" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the password validator implementation.
getJavaClass
in interface PasswordValidatorCfgClient
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
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.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |