Interface SshdSessionFactoryBuilder.ConfigStoreFactory

  • Enclosing class:
    SshdSessionFactoryBuilder
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SshdSessionFactoryBuilder.ConfigStoreFactory
    A factory interface for creating a SshConfigStore.
    • Method Detail

      • create

        SshConfigStore create​(@NonNull
                              File homeDir,
                              File configFile,
                              String localUserName)
        Creates a SshConfigStore. May return null if none is to be used.
        Parameters:
        homeDir - to use for ~-replacements
        configFile - to use, may be null if none
        localUserName - name of the current user in the local OS
        Returns:
        the SshConfigStore, or null if none is to be used