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

java.lang.Object
  extended by org.apache.maven.wagon.providers.ssh.jsch.interactive.PrompterUIKeyboardInteractive
All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive

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

UIKeyboardInteractive that use plexus-prompter. 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 22, 2005
Author:
Juan F. Codagnone
Plexus component:
role:
"com.jcraft.jsch.UIKeyboardInteractive"

Constructor Summary
PrompterUIKeyboardInteractive()
           
PrompterUIKeyboardInteractive(org.codehaus.plexus.components.interactivity.Prompter promper)
           
 
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

PrompterUIKeyboardInteractive

public PrompterUIKeyboardInteractive()

PrompterUIKeyboardInteractive

public PrompterUIKeyboardInteractive(org.codehaus.plexus.components.interactivity.Prompter promper)
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-2011 The Apache Software Foundation. All Rights Reserved.