org.apache.maven.wagon.providers.ssh.jsch.interactive
Class TraditionalUIKeyboardInteractive
java.lang.Object
org.apache.maven.wagon.providers.ssh.jsch.interactive.TraditionalUIKeyboardInteractive
- UIKeyboardInteractive
public class TraditionalUIKeyboardInteractive
extends java.lang.Object
implements 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
.
TraditionalUIKeyboardInteractive
public TraditionalUIKeyboardInteractive(AuthenticationInfo authInfo)
promptKeyboardInteractive
public String[] promptKeyboardInteractive(String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
UIKeyboardInteractive.promptKeyboardInteractive(String,String,
String,String[],boolean[])