Class JGitTransportConfigCallback
- java.lang.Object
-
- org.apache.maven.scm.provider.git.jgit.command.JGitTransportConfigCallback
-
- All Implemented Interfaces:
org.eclipse.jgit.api.TransportConfigCallback
public class JGitTransportConfigCallback extends java.lang.Object implements org.eclipse.jgit.api.TransportConfigCallbackImplementation ofTransportConfigCallbackwhich adds a public/private key identity to ssh URLs if configured.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classJGitTransportConfigCallback.PrivateKeySessionFactoryprivate static classJGitTransportConfigCallback.ProtectedPrivateKeyFileSessionFactoryprivate static classJGitTransportConfigCallback.SimpleSessionFactoryprivate static classJGitTransportConfigCallback.UnprotectedPrivateKeySessionFactory
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.jgit.transport.SshSessionFactorysshSessionFactory
-
Constructor Summary
Constructors Constructor Description JGitTransportConfigCallback(GitScmProviderRepository repo, ScmLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.eclipse.jgit.transport.Transport transport)
-
-
-
Constructor Detail
-
JGitTransportConfigCallback
public JGitTransportConfigCallback(GitScmProviderRepository repo, ScmLogger logger)
-
-