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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase
org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration -
Constructor Summary
ConstructorsConstructorDescriptionJenkinsServerKeyDatabase(boolean askAboutNewFile, List<Path> defaultFiles, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config, org.eclipse.jgit.transport.CredentialsProvider provider) lookup(String connectAddress, InetSocketAddress remoteAddress, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config)
-
Constructor Details
-
JenkinsServerKeyDatabase
-
-
Method Details
-
lookup
public List<PublicKey> lookup(String connectAddress, InetSocketAddress remoteAddress, org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration config) - Specified by:
lookupin interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase- Overrides:
lookupin 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:
acceptin interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase- Overrides:
acceptin classorg.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase
-