de.intarsys.tools.authenticate
Class CachedPasswordProvider
java.lang.Object
de.intarsys.tools.authenticate.CachedPasswordProvider
- All Implemented Interfaces:
- IPasswordProvider, IPrompter
public class CachedPasswordProvider
- extends Object
- implements IPasswordProvider, IPrompter
CachedPasswordProvider
public CachedPasswordProvider(IPasswordProvider passwordProvider)
getPassword
public char[] getPassword()
- Description copied from interface:
IPasswordProvider
- Returns a password or null to indicate cancellation.
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.
- Specified by:
getPassword in interface IPasswordProvider
- Returns:
- a char[] containing the password or null
getPasswordProvider
public IPasswordProvider getPasswordProvider()
setMessage
public void setMessage(String message)
- Specified by:
setMessage in interface IPrompter
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface IPrompter
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.