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 TypeMethodDescriptionvoid
clear
(IJSchLocation location) The cached password should be flushed.boolean
isCached
(IJSchLocation location) This method will check if the password is cached or not.void
update
(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
-