java.lang.Object
org.eclipse.jgit.internal.transport.sshd.JGitSshConfig
All Implemented Interfaces:
org.apache.sshd.client.config.hosts.HostConfigEntryResolver

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

    Fields inherited from interface org.apache.sshd.client.config.hosts.HostConfigEntryResolver

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    JGitSshConfig(org.eclipse.jgit.transport.SshConfigStore store)
    Creates a new JGitSshConfig that will read the config from the given SshConfigStore.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.client.config.hosts.HostConfigEntry
    resolveEffectiveHost(String host, int port, SocketAddress localAddress, String username, 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
  • Constructor Details

    • JGitSshConfig

      public JGitSshConfig(org.eclipse.jgit.transport.SshConfigStore store)
      Creates a new JGitSshConfig that will read the config from the given SshConfigStore.
      Parameters:
      store - to use
  • Method Details

    • resolveEffectiveHost

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