Package org.eclipse.jsch.core
Interface IPasswordStore
public interface IPasswordStore
This interface abstracts the password store. The given password
will be stored to via this interface.
This interface is intended to be implemented by clients.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear(IJSchLocation location) The cached password should be flushed.booleanisCached(IJSchLocation location) This method will check if the password is cached or not.voidupdate(IJSchLocation location) The new password "location.getPassword()" will be cached.
-
Method Details
-
clear
The cached password should be flushed.- Parameters:
location- location string helper
-
isCached
This method will check if the password is cached or not.- Parameters:
location- location string helper- Returns:
- whether the password is cached.
-
update
The new password "location.getPassword()" will be cached.- Parameters:
location- location string helper
-