|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.ssh.SSHAuthPrompt
public class SSHAuthPrompt
Represents an SSH keyboard-interactive prompt. The SSH server sends a prompt string which the client must respond to. Instances of this class are supplied to the server so that the prompt is automatically answered with the required response
| Constructor Summary | |
|---|---|
SSHAuthPrompt(java.lang.String prompt,
java.lang.String response)
Creates a new KBIPrompt object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPrompt()
Get the prompt string |
java.lang.String |
getResponse()
Get the response to the prompt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSHAuthPrompt(java.lang.String prompt,
java.lang.String response)
prompt - prompt string from server, e.g. 'Password:'response - response to this prompt| Method Detail |
|---|
public java.lang.String getPrompt()
public java.lang.String getResponse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||