Class PrompterUIKeyboardInteractive

  • All Implemented Interfaces:
    com.jcraft.jsch.UIKeyboardInteractive

    public class PrompterUIKeyboardInteractive
    extends java.lang.Object
    implements com.jcraft.jsch.UIKeyboardInteractive
    UIKeyboardInteractive that use plexus-prompter. UIKeyboardInteractive are usefull when you don't use user with password authentication with a server that use keyboard-interactive and doesn't allow password method PasswordAuthentication no.
    Since:
    Sep 22, 2005
    Author:
    Juan F. Codagnone
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] promptKeyboardInteractive​(java.lang.String destination, java.lang.String name, java.lang.String instruction, java.lang.String[] prompt, boolean[] echo)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrompterUIKeyboardInteractive

        public PrompterUIKeyboardInteractive()
      • PrompterUIKeyboardInteractive

        public PrompterUIKeyboardInteractive​(org.codehaus.plexus.components.interactivity.Prompter promper)
    • 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)
        Specified by:
        promptKeyboardInteractive in interface com.jcraft.jsch.UIKeyboardInteractive
        See Also:
        UIKeyboardInteractive.promptKeyboardInteractive(String,String, String,String[],boolean[])