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 PasswordGenerator
public static void main(String... args)
Copyright © 2005–2017 Alfresco Software. All rights reserved.