|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.transport.Service
com.sshtools.j2ssh.authentication.AuthenticationProtocolClient
DOCUMENT ME!
| Field Summary |
| Fields inherited from class com.sshtools.j2ssh.transport.Service |
ACCEPTING_SERVICE, messageStore, REQUESTING_SERVICE, startMode, state, transport |
| Constructor Summary | |
AuthenticationProtocolClient()
Creates a new AuthenticationProtocolClient object. |
|
| Method Summary | |
int |
authenticate(SshAuthenticationClient auth,
Service serviceToStart)
DOCUMENT ME! |
java.util.List |
getAvailableAuths(java.lang.String username,
java.lang.String serviceName)
DOCUMENT ME! |
java.lang.String |
getBannerMessage(int timeout)
DOCUMENT ME! |
byte[] |
getSessionIdentifier()
DOCUMENT ME! |
protected void |
onServiceAccept()
DOCUMENT ME! |
protected void |
onServiceInit(int startMode)
DOCUMENT ME! |
protected void |
onServiceRequest()
DOCUMENT ME! |
protected void |
onStart()
DOCUMENT ME! |
void |
readAuthenticationState()
DOCUMENT ME! |
SshMessage |
readMessage(int messageId)
DOCUMENT ME! |
SshMessage |
readMessage(int[] messageId)
DOCUMENT ME! |
void |
registerMessage(java.lang.Class cls,
int messageId)
DOCUMENT ME! |
void |
sendMessage(SshMessage msg)
DOCUMENT ME! |
| Methods inherited from class com.sshtools.j2ssh.transport.Service |
getServiceName, getState, init, sendServiceAccept, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthenticationProtocolClient()
| Method Detail |
protected void onServiceAccept()
throws java.io.IOException
onServiceAccept in class Servicejava.io.IOException - DOCUMENT ME!protected void onStart()
onStart in class Service
protected void onServiceInit(int startMode)
throws java.io.IOException
onServiceInit in class ServicestartMode - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
protected void onServiceRequest()
throws java.io.IOException
onServiceRequest in class Servicejava.io.IOException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public java.util.List getAvailableAuths(java.lang.String username,
java.lang.String serviceName)
throws java.io.IOException
username - DOCUMENT ME!serviceName - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
SshException - DOCUMENT ME!
public int authenticate(SshAuthenticationClient auth,
Service serviceToStart)
throws java.io.IOException
auth - DOCUMENT ME!serviceToStart - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
SshException - DOCUMENT ME!
public void sendMessage(SshMessage msg)
throws java.io.IOException
msg - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!public byte[] getSessionIdentifier()
public void registerMessage(java.lang.Class cls,
int messageId)
cls - DOCUMENT ME!messageId - DOCUMENT ME!
public SshMessage readMessage(int messageId)
throws TerminatedStateException,
java.io.IOException
messageId - DOCUMENT ME!
TerminatedStateException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public SshMessage readMessage(int[] messageId)
throws TerminatedStateException,
java.io.IOException
messageId - DOCUMENT ME!
TerminatedStateException - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
public void readAuthenticationState()
throws java.io.IOException,
TerminatedStateException
java.io.IOException - DOCUMENT ME!
TerminatedStateException - DOCUMENT ME!
public java.lang.String getBannerMessage(int timeout)
throws java.io.IOException
timeout - DOCUMENT ME!
java.io.IOException - DOCUMENT ME!
SshException - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||