public class SshUsernamePasswordAuthConfigurator extends AbstractSshAuthConfigurator
GitAuthenticationConfigurator that configures the TransportCommand to use SSH with username/password authentication.
The user name is expected to be part of the Git SSH URL, while the password is provided separately and injected to this class.| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
KEY_TYPE_CONFIG| Constructor and Description |
|---|
SshUsernamePasswordAuthConfigurator(String password) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.jgit.transport.SshSessionFactory |
createSessionFactory() |
configureAuthentication, setHostKeyTypeprotected String password
public SshUsernamePasswordAuthConfigurator(String password)
protected org.eclipse.jgit.transport.SshSessionFactory createSessionFactory()
createSessionFactory in class AbstractSshAuthConfiguratorCopyright © 2018 CrafterCMS. All rights reserved.