public class Authentication extends Object
SshConnection| Constructor and Description |
|---|
Authentication(File privateKeyFile,
String username)
Constructor.
|
Authentication(File privateKeyFile,
String username,
String privateKeyFilePassword)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getPrivateKeyFile()
The file path to the private key.
|
String |
getPrivateKeyFilePassword()
The password for the private key file.
|
String |
getUsername()
The username to authenticate as.
|
public Authentication(File privateKeyFile, String username, String privateKeyFilePassword)
privateKeyFile - the key.username - the username.privateKeyFilePassword - password for the key file, or null if there is none.public File getPrivateKeyFile()
public String getPrivateKeyFilePassword()
public String getUsername()
Copyright © 2004-2015 Hudson. All Rights Reserved.