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 java.lang.Object implements org.apache.sshd.client.config.hosts.HostConfigEntryResolverA bridge between a JGitSshConfigStoreand the Apache MINA sshdHostConfigEntryResolver.
-
-
Field Summary
Fields Modifier and Type Field Description private SshConfigStoreconfigFile
-
Constructor Summary
Constructors Constructor Description JGitSshConfig(SshConfigStore store)Creates a newJGitSshConfigthat 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.HostConfigEntryresolveEffectiveHost(java.lang.String host, int port, java.net.SocketAddress localAddress, java.lang.String username, java.lang.String proxyJump, org.apache.sshd.common.AttributeRepository attributes)
-
-
-
Field Detail
-
configFile
private final SshConfigStore configFile
-
-
Constructor Detail
-
JGitSshConfig
public JGitSshConfig(SshConfigStore store)
Creates a newJGitSshConfigthat will read the config from the givenSshConfigStore.- Parameters:
store- to use
-
-
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:
resolveEffectiveHostin interfaceorg.apache.sshd.client.config.hosts.HostConfigEntryResolver- Throws:
java.io.IOException
-
-