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 Summary
ConstructorDescriptionPropertiesBasedSshTransportConfigCallback
(MultipleJGitEnvironmentProperties sshUriProperties) -
Method Summary
-
Constructor Details
-
PropertiesBasedSshTransportConfigCallback
public PropertiesBasedSshTransportConfigCallback(MultipleJGitEnvironmentProperties sshUriProperties)
-
-
Method Details
-
getSshUriProperties
-
configure
public void configure(org.eclipse.jgit.transport.Transport transport) - Specified by:
configure
in interfaceorg.eclipse.jgit.api.TransportConfigCallback
-