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 Details

    • DefaultConfiguration

      protected DefaultConfiguration(@NonNull HostKeyVerifierFactory hostKeyVerifierFactory, @NonNull Supplier<org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking> supplier)
  • Method Details

    • getUserKnownHostsFiles

      public List<String> getUserKnownHostsFiles()
      Specified by:
      getUserKnownHostsFiles in interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
    • getGlobalKnownHostsFiles

      public List<String> getGlobalKnownHostsFiles()
      Specified by:
      getGlobalKnownHostsFiles in interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
    • getHashKnownHosts

      public boolean getHashKnownHosts()
      Specified by:
      getHashKnownHosts in interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration
    • getStrictHostKeyChecking

      public org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration.StrictHostKeyChecking getStrictHostKeyChecking()
      Specified by:
      getStrictHostKeyChecking in interface org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration