|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sshtools.j2ssh.transport.SshMessage
|
+--com.sshtools.j2ssh.authentication.SshMsgUserAuthRequest
|
+--com.sshtools.j2ssh.authentication.SshMsgUserAuthPwdRequest
Implements the SSH_MSG_USERAUTH_REQUEST for the password authentication method
| Field Summary |
| Fields inherited from class com.sshtools.j2ssh.authentication.SshMsgUserAuthRequest |
SSH_MSG_USERAUTH_REQUEST |
| Constructor Summary | |
SshMsgUserAuthPwdRequest()
Constructs the message |
|
SshMsgUserAuthPwdRequest(java.lang.String username,
java.lang.String password,
java.lang.String serviceName)
Constructors the message |
|
| Method Summary | |
protected void |
constructByteArray(ByteArrayWriter baw)
Constructs a byte array containing the message. |
protected void |
constructMessage(ByteArrayReader bar)
Constructs the message from a byte array. |
java.lang.String |
getPassword()
Gets the password. |
| Methods inherited from class com.sshtools.j2ssh.authentication.SshMsgUserAuthRequest |
getMessageName, getMethodName, getServiceName, getUsername |
| Methods inherited from class com.sshtools.j2ssh.transport.SshMessage |
fromByteArray, getMessageId, toByteArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SshMsgUserAuthPwdRequest(java.lang.String username,
java.lang.String password,
java.lang.String serviceName)
username - The users namepassword - The users passwordserviceName - The service name to start
public SshMsgUserAuthPwdRequest()
throws InvalidMessageException
InvalidMessageException| Method Detail |
public java.lang.String getPassword()
Gets the password.
protected void constructMessage(ByteArrayReader bar)
throws InvalidMessageException
Constructs the message from a byte array.
constructMessage in class SshMsgUserAuthRequestbar - The byte array being read
InvalidMessageException
protected void constructByteArray(ByteArrayWriter baw)
throws InvalidMessageException
Constructs a byte array containing the message.
constructByteArray in class SshMsgUserAuthRequestbaw - The byte array being written
InvalidMessageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||