Class UserInfoUIKeyboardInteractiveProxy

java.lang.Object
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 Details

    • UserInfoUIKeyboardInteractiveProxy

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

    • 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)