|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maverick.ssh2.KBIPrompt
Represents a single prompt in the keyboard-interactive authentication process
Constructor Summary | |
protected |
KBIPrompt(java.lang.String prompt,
boolean echo)
Creates a new KBIPrompt object. |
Method Summary | |
boolean |
echo()
true if the user response should be echo'd to the display, otherwise false. |
java.lang.String |
getPrompt()
Get the prompt message to display to the user |
java.lang.String |
getResponse()
Get the user's response for this prompt. |
void |
setResponse(java.lang.String response)
Set the user's response for this prompt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected KBIPrompt(java.lang.String prompt, boolean echo)
prompt
- echo
- Method Detail |
public java.lang.String getPrompt()
public boolean echo()
public void setResponse(java.lang.String response)
response
- public java.lang.String getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |