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

Class UserInfoUIKeyboardInteractiveProxy

public class UserInfoUIKeyboardInteractiveProxy extends Object implements UserInfo, UIKeyboardInteractive

A proxy that let you merge a UserInfo and a UIKeyboardInteractive

Since: Sep 22, 2005

Author: Juan F. Codagnone

Field Summary
UIKeyboardInteractiveinteractive
UserInfouserInfo
Constructor Summary
UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo, UIKeyboardInteractive interactive)
Method Summary
StringgetPassphrase()
StringgetPassword()
String[]promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)
booleanpromptPassphrase(String arg0)
booleanpromptPassword(String arg0)
booleanpromptYesNo(String arg0)
voidshowMessage(String arg0)

Field Detail

interactive

private final UIKeyboardInteractive interactive

userInfo

private final UserInfo userInfo

Constructor Detail

UserInfoUIKeyboardInteractiveProxy

public UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo, UIKeyboardInteractive interactive)

Method Detail

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)