Class AcceptFirstConnectionVerifier.AcceptFirstConnectionJGitHostKeyVerifier

java.lang.Object
org.jenkinsci.plugins.gitclient.verifier.AbstractJGitHostKeyVerifier
org.jenkinsci.plugins.gitclient.verifier.AcceptFirstConnectionVerifier.AcceptFirstConnectionJGitHostKeyVerifier
All Implemented Interfaces:
Serializable, org.jenkinsci.remoting.SerializableOnlyOverRemoting
Enclosing class:
AcceptFirstConnectionVerifier

public static class AcceptFirstConnectionVerifier.AcceptFirstConnectionJGitHostKeyVerifier extends AbstractJGitHostKeyVerifier
See Also:
  • Constructor Details

  • Method Details

    • askAboutKnowHostFile

      protected boolean askAboutKnowHostFile()
      Description copied from class: AbstractJGitHostKeyVerifier

      see OpenSshServerKeyDatabase if true the implementation of $CredentialsProvider will be search with a for CredentialItem.YesNoType and our implementation SmartCredentialsProvider never returns that

      used only here for the Accept first which always create a file without asking anything

      Overrides:
      askAboutKnowHostFile in class AbstractJGitHostKeyVerifier
      Returns:
      something in the range true or false, per default true to avoid automatic creation of know hosts file.
    • getServerKeyDatabaseConfiguration

      public org.eclipse.jgit.transport.sshd.ServerKeyDatabase.Configuration getServerKeyDatabaseConfiguration()
      Specified by:
      getServerKeyDatabaseConfiguration in class AbstractJGitHostKeyVerifier