|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomPasswordGeneratorCfgClient
A client-side interface for reading and modifying Random Password Generator settings.
The Random Password Generator creates random passwords based on fixed-length strings built from one or more character sets.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends RandomPasswordGeneratorCfgClient,? extends RandomPasswordGeneratorCfg> |
definition()
Get the configuration definition associated with this Random Password Generator. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.util.SortedSet<java.lang.String> |
getPasswordCharacterSet()
Gets the "password-character-set" property. |
java.lang.String |
getPasswordFormat()
Gets the "password-format" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
void |
setPasswordCharacterSet(java.util.Collection<java.lang.String> values)
Sets the "password-character-set" property. |
void |
setPasswordFormat(java.lang.String value)
Sets the "password-format" property. |
Methods inherited from interface org.opends.server.admin.std.client.PasswordGeneratorCfgClient |
---|
isEnabled, setEnabled |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends RandomPasswordGeneratorCfgClient,? extends RandomPasswordGeneratorCfg> definition()
definition
in interface ConfigurationClient
definition
in interface PasswordGeneratorCfgClient
java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Random Password Generator implementation.
getJavaClass
in interface PasswordGeneratorCfgClient
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
Specifies the fully-qualified name of the Java class that provides the Random Password Generator implementation.
setJavaClass
in interface PasswordGeneratorCfgClient
value
- The value of the "java-class" property.
IllegalPropertyValueException
- If the new value is invalid.java.util.SortedSet<java.lang.String> getPasswordCharacterSet()
Specifies one or more named character sets.
This is a multi-valued property, with each value defining a different character set. The format of the character set is the name of the set followed by a colon and the characters that are in that set. For example, the value "alpha:abcdefghijklmnopqrstuvwxyz" defines a character set named "alpha" containing all of the lower-case ASCII alphabetic characters.
void setPasswordCharacterSet(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
Specifies one or more named character sets.
This is a multi-valued property, with each value defining a different character set. The format of the character set is the name of the set followed by a colon and the characters that are in that set. For example, the value "alpha:abcdefghijklmnopqrstuvwxyz" defines a character set named "alpha" containing all of the lower-case ASCII alphabetic characters.
values
- The values of the "password-character-set" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.String getPasswordFormat()
Specifies the format to use for the generated password.
The value is a comma-delimited list of elements in which each of those elements is comprised of the name of a character set defined in the password-character-set property, a colon, and the number of characters to include from that set. For example, a value of "alpha:3,numeric:2,alpha:3" generates an 8-character password in which the first three characters are from the "alpha" set, the next two are from the "numeric" set, and the final three are from the "alpha" set.
void setPasswordFormat(java.lang.String value) throws IllegalPropertyValueException
Specifies the format to use for the generated password.
The value is a comma-delimited list of elements in which each of those elements is comprised of the name of a character set defined in the password-character-set property, a colon, and the number of characters to include from that set. For example, a value of "alpha:3,numeric:2,alpha:3" generates an 8-character password in which the first three characters are from the "alpha" set, the next two are from the "numeric" set, and the final three are from the "alpha" set.
value
- The value of the "password-format" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |