Class AbstractJGitHostKeyVerifier.JenkinsServerKeyDatabase
- java.lang.Object
-
- org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase
-
- org.jenkinsci.plugins.gitclient.verifier.AbstractJGitHostKeyVerifier.JenkinsServerKeyDatabase
-
- All Implemented Interfaces:
org.eclipse.jgit.transport.sshd.ServerKeyDatabase
- Enclosing class:
- AbstractJGitHostKeyVerifier
protected static class AbstractJGitHostKeyVerifier.JenkinsServerKeyDatabase extends org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase
-
-
Constructor Summary
Constructors Constructor Description JenkinsServerKeyDatabase(boolean askAboutNewFile, List<Path> defaultFiles, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config, org.eclipse.jgit.transport.CredentialsProvider provider)
List<PublicKey>
lookup(String connectAddress, InetSocketAddress remoteAddress, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config)
-
-
-
Method Detail
-
lookup
public List<PublicKey> lookup(String connectAddress, InetSocketAddress remoteAddress, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config)
- Specified by:
lookup
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase
- Overrides:
lookup
in classorg.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase
-
accept
public boolean accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config, org.eclipse.jgit.transport.CredentialsProvider provider)
- Specified by:
accept
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase
- Overrides:
accept
in classorg.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase
-
-