Class 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 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 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