public class BasicPasswordGenerator extends Object implements PasswordGenerator
| Constructor and Description |
|---|
BasicPasswordGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generatePassword()
Returns a generated password
|
static void |
main(String... args) |
void |
setPasswordLength(int passwordLength)
Set the password length
|
public void setPasswordLength(int passwordLength)
passwordLength - the password lengthpublic String generatePassword()
generatePassword in interface PasswordGeneratorpublic static void main(String... args)
Copyright © 2005–2018 Alfresco Software. All rights reserved.