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 Detail

      • 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