Class PropertiesBasedSshTransportConfigCallback

java.lang.Object
org.springframework.cloud.config.server.ssh.PropertiesBasedSshTransportConfigCallback
All Implemented Interfaces:
org.eclipse.jgit.api.TransportConfigCallback

public class PropertiesBasedSshTransportConfigCallback extends Object implements org.eclipse.jgit.api.TransportConfigCallback
Configure JGit transport command to use a SSH session factory that is configured using properties defined in MultipleJGitEnvironmentProperties.
Author:
Dylan Roberts
  • Constructor Details

  • Method Details

    • getSshUriProperties

      public MultipleJGitEnvironmentProperties getSshUriProperties()
    • configure

      public void configure(org.eclipse.jgit.transport.Transport transport)
      Specified by:
      configure in interface org.eclipse.jgit.api.TransportConfigCallback