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

Class UserInfoUIKeyboardInteractiveProxy

Implemented Interfaces:
UIKeyboardInteractive, UserInfo

public class UserInfoUIKeyboardInteractiveProxy
extends java.lang.Object
implements UserInfo, UIKeyboardInteractive

A proxy that let you merge a UserInfo and a UIKeyboardInteractive
Author:
Juan F. Codagnone
Since:
Sep 22, 2005

Constructor Summary

UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo, UIKeyboardInteractive interactive)

Method Summary

String
getPassphrase()
String
getPassword()
String[]
promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)
boolean
promptPassphrase(String arg0)
boolean
promptPassword(String arg0)
boolean
promptYesNo(String arg0)
void
showMessage(String arg0)

Constructor Details

UserInfoUIKeyboardInteractiveProxy

public UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo,
                                          UIKeyboardInteractive interactive)

Method Details

getPassphrase

public String getPassphrase()
See Also:
com.jcraft.jsch.UserInfo.getPassphrase()

getPassword

public String getPassword()
See Also:
com.jcraft.jsch.UserInfo.getPassword()

promptKeyboardInteractive

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

promptPassphrase

public boolean promptPassphrase(String arg0)
See Also:
com.jcraft.jsch.UserInfo.promptPassphrase(String)

promptPassword

public boolean promptPassword(String arg0)
See Also:
com.jcraft.jsch.UserInfo.promptPassword(String)

promptYesNo

public boolean promptYesNo(String arg0)
See Also:
com.jcraft.jsch.UserInfo.promptYesNo(String)

showMessage

public void showMessage(String arg0)
See Also:
com.jcraft.jsch.UserInfo.showMessage(String)