|
SVNKit Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tmatesoft.svn.core.auth.SVNAuthentication
org.tmatesoft.svn.core.auth.SVNSSHAuthentication
The SVNSSHAuthentication class represents a kind of credentials used to authenticate a user over an SSH tunnel.
To obtain an ssh user credential, specify the SSH
kind to credentials getter method of ISVNAuthenticationManager:
getFirstAuthentication(),
getNextAuthentication().
ISVNAuthenticationManager| Constructor Summary | |
SVNSSHAuthentication(String userName,
File keyFile,
String passphrase,
int portNumber,
boolean storageAllowed)
Creates a user credential object for authenticating over an ssh tunnel. |
|
SVNSSHAuthentication(String userName,
String password,
int portNumber,
boolean storageAllowed)
Creates a user credential object for authenticating over an ssh tunnel. |
|
| Method Summary | |
String |
getPassphrase()
Returns the password to the ssh private key. |
String |
getPassword()
Returns the user account's password. |
int |
getPortNumber()
Returns the number of the port across which an ssh tunnel is established. |
File |
getPrivateKeyFile()
Returns the File representation referring to the file with the user's ssh private key. |
| Methods inherited from class org.tmatesoft.svn.core.auth.SVNAuthentication |
getKind, getUserName, isStorageAllowed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SVNSSHAuthentication(String userName,
String password,
int portNumber,
boolean storageAllowed)
userName - the name of a user to authenticatepassword - the user's passwordportNumber - the number of a port to establish an ssh tunnel overstorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise not
public SVNSSHAuthentication(String userName,
File keyFile,
String passphrase,
int portNumber,
boolean storageAllowed)
userName - the name of a user to authenticatekeyFile - the user's ssh private key filepassphrase - a password to the ssh private keyportNumber - the number of a port to establish an ssh tunnel overstorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise not| Method Detail |
public String getPassword()
public String getPassphrase()
getPrivateKeyFile()public File getPrivateKeyFile()
public int getPortNumber()
|
SVNKit Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||