|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.authentication.BasicPasswordGenerator
public class BasicPasswordGenerator
Generates a password of specified length consisting of printable ASCII characters
Constructor Summary | |
---|---|
BasicPasswordGenerator()
|
Method Summary | |
---|---|
java.lang.String |
generatePassword()
Returns a generated password |
static void |
main(java.lang.String[] args)
|
void |
setPasswordLength(int passwordLength)
Set the password length |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPasswordGenerator()
Method Detail |
---|
public void setPasswordLength(int passwordLength)
passwordLength
- the password lengthpublic java.lang.String generatePassword()
generatePassword
in interface PasswordGenerator
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |