public class PasswordGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
defaulttemplate
Default template to use when generating passwords.
|
(package private) RandomPool |
ranPool
Pool of random numbers.
|
| Constructor and Description |
|---|
PasswordGenerator()
Creates the generator
|
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleInfo()
Returns a description of the module.
|
String |
getPassword()
Generate a password, based on the default template for this module.
|
String |
getPassword(String template)
Generate a password, based on the given template.
|
static void |
main(String[] args)
Entry point when calling from teh command line.
|
RandomPool ranPool
String defaulttemplate
public static void main(String[] args)
public String getPassword()
public String getPassword(String template)
template - the template the password should be based on.public String getModuleInfo()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}