public class GeneratedPassword
extends Object
| Constructor and Description |
|---|
GeneratedPassword() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearPassword(String key)
Clear the password associated with the given key.
|
static char[] |
getPassword(String key)
Get the password associated with the key.
|
static char[] |
setPassword(String key,
String seed)
Create a password associated with the given key.
|
public static final char[] getPassword(String key)
key - is a unique id associated with the password lookup.public static final char[] setPassword(String key,
String seed)
key - is a unique id associated with the password lookup.seed - will be used in conjunction with an internally generated seed for generating
the random password. If the seed is null then the system will create a pseudorandom seed
on behalf of the caller.public static final void clearPassword(String key)
key - is a unique id associated with the password lookup.