public class BasicPasswordGenerator extends java.lang.Object implements PasswordGenerator
| Constructor and Description |
|---|
BasicPasswordGenerator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generatePassword()
Returns a generated password
|
static void |
main(java.lang.String[] args) |
void |
setPasswordLength(int passwordLength)
Set the password length
|
public void setPasswordLength(int passwordLength)
passwordLength - the password lengthpublic java.lang.String generatePassword()
generatePassword in interface PasswordGeneratorpublic static void main(java.lang.String[] args)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.