| java.lang.Object org.tmatesoft.svn.core.auth.SVNAuthentication org.tmatesoft.svn.core.auth.SVNSSHAuthentication
Constructor Summary | |
public | SVNSSHAuthentication(String userName, String password, int portNumber, boolean storageAllowed) Creates a user credential object for authenticating over an ssh tunnel. | public | SVNSSHAuthentication(String userName, File keyFile, String passphrase, int portNumber, boolean storageAllowed) Creates a user credential object for authenticating over an ssh tunnel. | public | SVNSSHAuthentication(String userName, char[] privateKey, String passphrase, int portNumber, boolean storageAllowed) Creates a user credential object for authenticating over an ssh tunnel. |
SVNSSHAuthentication | public SVNSSHAuthentication(String userName, String password, int portNumber, boolean storageAllowed)(Code) | | Creates a user credential object for authenticating over an ssh tunnel.
This kind of credentials is used when an ssh connection requires
a user password instead of an ssh private key.
Parameters: userName - the name of a user to authenticate Parameters: password - the user's password Parameters: portNumber - the number of a port to establish an ssh tunnel over Parameters: storageAllowed - if true thenthis credential is allowed to be stored in the global auth cache, otherwise not |
SVNSSHAuthentication | public SVNSSHAuthentication(String userName, File keyFile, String passphrase, int portNumber, boolean storageAllowed)(Code) | | Creates a user credential object for authenticating over an ssh tunnel.
This kind of credentials is used when an ssh connection requires
an ssh private key.
Parameters: userName - the name of a user to authenticate Parameters: keyFile - the user's ssh private key file Parameters: passphrase - a password to the ssh private key Parameters: portNumber - the number of a port to establish an ssh tunnel over Parameters: storageAllowed - if true thenthis credential is allowed to be stored in the global auth cache, otherwise not |
SVNSSHAuthentication | public SVNSSHAuthentication(String userName, char[] privateKey, String passphrase, int portNumber, boolean storageAllowed)(Code) | | Creates a user credential object for authenticating over an ssh tunnel.
This kind of credentials is used when an ssh connection requires
an ssh private key.
Parameters: userName - the name of a user to authenticate Parameters: privateKey - the user's ssh private key Parameters: passphrase - a password to the ssh private key Parameters: portNumber - the number of a port to establish an ssh tunnel over Parameters: storageAllowed - if true thenthis credential is allowed to be stored in the global auth cache, otherwise not |
getPassword | public String getPassword()(Code) | | Returns the user account's password. This is used when an
ssh private key is not used.
the user's password |
getPortNumber | public int getPortNumber()(Code) | | Returns the number of the port across which an ssh tunnel
is established.
the port number to establish an ssh tunnel over |
getPrivateKey | public char[] getPrivateKey()(Code) | | Returns ssh private key. If the private key is encrypted with a
passphrase, it should have been provided to an appropriate constructor.
the user's private key file |
getPrivateKeyFile | public File getPrivateKeyFile()(Code) | | Returns the File representation referring to the file with the
user's ssh private key. If the private key is encrypted with a
passphrase, it should have been provided to an appropriate constructor.
the user's private key file |
hasPrivateKey | public boolean hasPrivateKey()(Code) | | |
|
|