Class AbstractJGitHostKeyVerifier.DefaultConfiguration
- java.lang.Object
-
- org.jenkinsci.plugins.gitclient.verifier.AbstractJGitHostKeyVerifier.DefaultConfiguration
-
- All Implemented Interfaces:
org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
- Enclosing class:
- AbstractJGitHostKeyVerifier
protected static class AbstractJGitHostKeyVerifier.DefaultConfiguration extends Object implements org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultConfiguration(HostKeyVerifierFactory hostKeyVerifierFactory, Supplier<org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getGlobalKnownHostsFiles()
boolean
getHashKnownHosts()
org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking
getStrictHostKeyChecking()
List<String>
getUserKnownHostsFiles()
String
getUsername()
-
-
-
Constructor Detail
-
DefaultConfiguration
protected DefaultConfiguration(@NonNull HostKeyVerifierFactory hostKeyVerifierFactory, @NonNull Supplier<org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking> supplier)
-
-
Method Detail
-
getUserKnownHostsFiles
public List<String> getUserKnownHostsFiles()
- Specified by:
getUserKnownHostsFiles
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
getGlobalKnownHostsFiles
public List<String> getGlobalKnownHostsFiles()
- Specified by:
getGlobalKnownHostsFiles
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
getHashKnownHosts
public boolean getHashKnownHosts()
- Specified by:
getHashKnownHosts
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
getStrictHostKeyChecking
public org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking getStrictHostKeyChecking()
- Specified by:
getStrictHostKeyChecking
in interfaceorg.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
-
-