|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.authentication.SshAuthenticationClient
com.sshtools.j2ssh.authentication.PublicKeyAuthenticationClient
DOCUMENT ME!
| Field Summary | |
protected SshPrivateKey |
key
DOCUMENT ME! |
| Constructor Summary | |
PublicKeyAuthenticationClient()
Creates a new PublicKeyAuthenticationClient object. |
|
| Method Summary | |
boolean |
acceptsKey(AuthenticationProtocolClient authentication,
java.lang.String username,
java.lang.String serviceToStart,
SshPublicKey key)
DOCUMENT ME! |
void |
authenticate(AuthenticationProtocolClient authentication,
java.lang.String serviceToStart)
DOCUMENT ME! |
boolean |
canAuthenticate()
DOCUMENT ME! |
java.lang.String |
getMethodName()
DOCUMENT ME! |
java.util.Properties |
getPersistableProperties()
DOCUMENT ME! |
void |
setKey(SshPrivateKey key)
DOCUMENT ME! |
void |
setPersistableProperties(java.util.Properties properties)
DOCUMENT ME! |
| Methods inherited from class com.sshtools.j2ssh.authentication.SshAuthenticationClient |
canPrompt, getAuthenticationPrompt, getUsername, setAuthenticationPrompt, setUsername |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SshPrivateKey key
| Constructor Detail |
public PublicKeyAuthenticationClient()
| Method Detail |
public void setKey(SshPrivateKey key)
key - DOCUMENT ME!public java.lang.String getMethodName()
getMethodName in class SshAuthenticationClient
public boolean acceptsKey(AuthenticationProtocolClient authentication,
java.lang.String username,
java.lang.String serviceToStart,
SshPublicKey key)
throws java.io.IOException
authentication - DOCUMENT ME!username - DOCUMENT ME!serviceToStart - DOCUMENT ME!key - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void authenticate(AuthenticationProtocolClient authentication,
java.lang.String serviceToStart)
throws java.io.IOException,
TerminatedStateException
authenticate in class SshAuthenticationClientauthentication - DOCUMENT ME!serviceToStart - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
TerminatedStateException - DOCUMENT ME!
AuthenticationProtocolException - DOCUMENT ME!public java.util.Properties getPersistableProperties()
SshAuthenticationClient
getPersistableProperties in class SshAuthenticationClientpublic void setPersistableProperties(java.util.Properties properties)
setPersistableProperties in class SshAuthenticationClientproperties - DOCUMENT ME!public boolean canAuthenticate()
canAuthenticate in class SshAuthenticationClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||