|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
public class Authentication
Represents authentication information to an SSH server connection.
SshConnection| Constructor Summary | |
|---|---|
Authentication(File privateKeyFile,
String username)
Constructor. |
|
Authentication(File privateKeyFile,
String username,
String privateKeyFilePassword)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 Authentication(File privateKeyFile,
String username)
privateKeyFile - the key.username - the username.| Method Detail |
|---|
public File getPrivateKeyFile()
public String getPrivateKeyFilePassword()
public String getUsername()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||