Class JGitSshConfig
- 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 JGitSshConfigStore
and the Apache MINA sshdHostConfigEntryResolver
.
-
-
Constructor Summary
Constructors Constructor Description JGitSshConfig(SshConfigStore store)
Creates a newJGitSshConfig
that will read the config from the givenSshConfigStore
.
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Constructor Detail
-
JGitSshConfig
public JGitSshConfig(SshConfigStore store)
Creates a newJGitSshConfig
that will read the config from the givenSshConfigStore
.- Parameters:
store
- to use
-
-
Method Detail
-
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 interfaceorg.apache.sshd.client.config.hosts.HostConfigEntryResolver
- Throws:
IOException
-
-