Class JGitSshConfig

  • All Implemented Interfaces:
    org.apache.sshd.client.config.hosts.HostConfigEntryResolver

    public class JGitSshConfig
    extends java.lang.Object
    implements org.apache.sshd.client.config.hosts.HostConfigEntryResolver
    A bridge between a JGit SshConfigStore and the Apache MINA sshd HostConfigEntryResolver.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private SshConfigStore configFile  
      • Fields inherited from interface org.apache.sshd.client.config.hosts.HostConfigEntryResolver

        EMPTY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.sshd.client.config.hosts.HostConfigEntry resolveEffectiveHost​(java.lang.String host, int port, java.net.SocketAddress localAddress, java.lang.String username, java.lang.String proxyJump, org.apache.sshd.common.AttributeRepository attributes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolveEffectiveHost

        public org.apache.sshd.client.config.hosts.HostConfigEntry resolveEffectiveHost​(java.lang.String host,
                                                                                        int port,
                                                                                        java.net.SocketAddress localAddress,
                                                                                        java.lang.String username,
                                                                                        java.lang.String proxyJump,
                                                                                        org.apache.sshd.common.AttributeRepository attributes)
                                                                                 throws java.io.IOException
        Specified by:
        resolveEffectiveHost in interface org.apache.sshd.client.config.hosts.HostConfigEntryResolver
        Throws:
        java.io.IOException