org.apache.maven.wagon.providers.ssh.jsch.interactive
Class TraditionalUIKeyboardInteractive

java.lang.Object
  extended byorg.apache.maven.wagon.providers.ssh.jsch.interactive.TraditionalUIKeyboardInteractive
All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive

public class TraditionalUIKeyboardInteractive
extends Object
implements com.jcraft.jsch.UIKeyboardInteractive

A conservative UIKeyboardInteractive that avoids real user interaction :). This implementation expects only one prompt with the word password in it.

UIKeyboardInteractive are usefull when you don't use user with password authentication with a server that use keyboard-interactive and doesn't allow password method PasswordAuthentication no.

Since:
Sep 21, 2005
Author:
Juan F. Codagnone

Constructor Summary
TraditionalUIKeyboardInteractive(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo)
           
 
Method Summary
 String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraditionalUIKeyboardInteractive

public TraditionalUIKeyboardInteractive(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo)
Method Detail

promptKeyboardInteractive

public String[] promptKeyboardInteractive(String destination,
                                          String name,
                                          String instruction,
                                          String[] prompt,
                                          boolean[] echo)
Specified by:
promptKeyboardInteractive in interface com.jcraft.jsch.UIKeyboardInteractive
See Also:
UIKeyboardInteractive.promptKeyboardInteractive(String,String, String,String[],boolean[])


Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.