public class ConstantPasswordProvider extends java.lang.Object implements IPasswordProvider
IPasswordProvider to return a constant value.| Constructor and Description |
|---|
ConstantPasswordProvider(char[] password) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getPassword()
Returns a password or null to indicate cancellation.
|
public char[] getPassword()
IPasswordProviderYou should be prepared that requesting the password twice will return an empty array or null, as the provider may null out the object for security reasons.
getPassword in interface IPasswordProvider