public class NullPasswordProvider extends java.lang.Object implements IPasswordProvider
IPasswordProvider
for example to use in a batch environment.Constructor and Description |
---|
NullPasswordProvider() |
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword()
Returns a password or null to indicate cancellation.
|
public char[] getPassword()
IPasswordProvider
You 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