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

java.lang.Object
  extended by org.apache.maven.wagon.providers.ssh.jsch.interactive.UserInfoUIKeyboardInteractiveProxy

public class UserInfoUIKeyboardInteractiveProxy
extends java.lang.Object

A proxy that let you merge a UserInfo and a UIKeyboardInteractive

Since:
Sep 22, 2005
Author:
Juan F. Codagnone

Constructor Summary
UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo, UIKeyboardInteractive interactive)
           
 
Method Summary
 java.lang.String getPassphrase()
           
 java.lang.String getPassword()
           
 java.lang.String[] promptKeyboardInteractive(java.lang.String destination, java.lang.String name, java.lang.String instruction, java.lang.String[] prompt, boolean[] echo)
           
 boolean promptPassphrase(java.lang.String arg0)
           
 boolean promptPassword(java.lang.String arg0)
           
 boolean promptYesNo(java.lang.String arg0)
           
 void showMessage(java.lang.String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfoUIKeyboardInteractiveProxy

public UserInfoUIKeyboardInteractiveProxy(UserInfo userInfo,
                                          UIKeyboardInteractive interactive)
Method Detail

promptKeyboardInteractive

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

getPassphrase

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

getPassword

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

promptPassword

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

promptPassphrase

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

promptYesNo

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

showMessage

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