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 Type
    Method
    Description
    void
    clear(IJSchLocation location)
    The cached password should be flushed.
    boolean
    This method will check if the password is cached or not.
    void
    The new password "location.getPassword()" will be cached.
  • Method Details

    • clear

      void clear(IJSchLocation location)
      The cached password should be flushed.
      Parameters:
      location - location string helper
    • isCached

      boolean isCached(IJSchLocation location)
      This method will check if the password is cached or not.
      Parameters:
      location - location string helper
      Returns:
      whether the password is cached.
    • update

      void update(IJSchLocation location)
      The new password "location.getPassword()" will be cached.
      Parameters:
      location - location string helper