com.maverick.ssh2
Class KBIPrompt

java.lang.Object
  extended bycom.maverick.ssh2.KBIPrompt

public class KBIPrompt
extends java.lang.Object

Represents a single prompt in the keyboard-interactive authentication process

Author:
Lee David Painter

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

KBIPrompt

protected KBIPrompt(java.lang.String prompt,
                    boolean echo)
Creates a new KBIPrompt object.

Parameters:
prompt -
echo -
Method Detail

getPrompt

public java.lang.String getPrompt()
Get the prompt message to display to the user

Returns:

echo

public boolean echo()
true if the user response should be echo'd to the display, otherwise false.

Returns:

setResponse

public void setResponse(java.lang.String response)
Set the user's response for this prompt.

Parameters:
response -

getResponse

public java.lang.String getResponse()
Get the user's response for this prompt.

Returns:


Copyright © 2003 3SP LTD. All Rights Reserved.