|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.bc.sftp.authentication.SshAuthentication
public abstract class SshAuthentication
Root of a collection of utility class used to hold the informations used by J2SSH to perform an authentication onto the SSH server.
| Constructor Summary | |
|---|---|
protected |
SshAuthentication(java.lang.String user)
Default constructor. |
| Method Summary | |
|---|---|
abstract com.sshtools.j2ssh.authentication.SshAuthenticationClient |
getAuthenticationClient()
Builds the object used by the SFTPClientPool to perform the authentication on the SSH server. |
abstract java.lang.String |
getKey()
Returns the key used to store an instance of this class (or any of its subclass) into the SftpClientPool. |
java.lang.String |
getUser()
Accessor the the username used for SSH authentication. |
java.lang.String |
toString()
Return the object content as String (Overrides the toString method). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected SshAuthentication(java.lang.String user)
throws ConfigurationException
user - the username used for SSH authentication
ConfigurationException| Method Detail |
|---|
public final java.lang.String getUser()
public abstract com.sshtools.j2ssh.authentication.SshAuthenticationClient getAuthenticationClient()
throws java.io.IOException
SshAuthenticationException
java.io.IOExceptionpublic abstract java.lang.String getKey()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||