com.maverick.ssh2
Interface KBIRequestHandler


public interface KBIRequestHandler

Callback interface used by the KBIAuthentication authentication mechanism.

Author:
$author$

Method Summary
 boolean showPrompts(java.lang.String name, java.lang.String instruction, KBIPrompt[] prompts)
          Called by the keyboard-interactive authentication mechanism when the server requests information from the user.
 

Method Detail

showPrompts

boolean showPrompts(java.lang.String name,
                    java.lang.String instruction,
                    KBIPrompt[] prompts)
Called by the keyboard-interactive authentication mechanism when the server requests information from the user. Each prompt should be displayed to the user with their response recorded within the prompt object.

Parameters:
name -
instruction -
prompts -
Returns:
true if the user entered the prompts, or false if the user cancelled the authentication attempt.


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.