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

java.lang.Object
  extended by org.apache.maven.wagon.providers.ssh.jsch.interactive.UserInfoUIKeyboardInteractiveProxy
All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive, com.jcraft.jsch.UserInfo

public class UserInfoUIKeyboardInteractiveProxy
extends Object
implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive

A proxy that let you merge a UserInfo and a UIKeyboardInteractive

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

Constructor Summary
UserInfoUIKeyboardInteractiveProxy(com.jcraft.jsch.UserInfo userInfo, com.jcraft.jsch.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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfoUIKeyboardInteractiveProxy

public UserInfoUIKeyboardInteractiveProxy(com.jcraft.jsch.UserInfo userInfo,
                                          com.jcraft.jsch.UIKeyboardInteractive interactive)
Method Detail

promptKeyboardInteractive

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

getPassphrase

public String getPassphrase()
Specified by:
getPassphrase in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.getPassphrase()

getPassword

public String getPassword()
Specified by:
getPassword in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.getPassword()

promptPassword

public boolean promptPassword(String arg0)
Specified by:
promptPassword in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.promptPassword(String)

promptPassphrase

public boolean promptPassphrase(String arg0)
Specified by:
promptPassphrase in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.promptPassphrase(String)

promptYesNo

public boolean promptYesNo(String arg0)
Specified by:
promptYesNo in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.promptYesNo(String)

showMessage

public void showMessage(String arg0)
Specified by:
showMessage in interface com.jcraft.jsch.UserInfo
See Also:
UserInfo.showMessage(String)


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.