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

Class TraditionalUIKeyboardInteractive

public class TraditionalUIKeyboardInteractive extends 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.

Since: Sep 21, 2005

Author: Juan F. Codagnone

Field Summary
AuthenticationInfoauthInfo
Constructor Summary
TraditionalUIKeyboardInteractive(AuthenticationInfo authInfo)
Method Summary
String[]promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)

Field Detail

authInfo

private final AuthenticationInfo authInfo

Constructor Detail

TraditionalUIKeyboardInteractive

public TraditionalUIKeyboardInteractive(AuthenticationInfo authInfo)

Method Detail

promptKeyboardInteractive

public String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)

See Also: UIKeyboardInteractive#promptKeyboardInteractive(String,String, String,String[],boolean[])