Class Connector.JCraftUserInfo

  • All Implemented Interfaces:
    com.jcraft.jsch.UIKeyboardInteractive, com.jcraft.jsch.UserInfo
    Enclosing class:
    Connector

    public class Connector.JCraftUserInfo
    extends java.lang.Object
    implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive
    • Constructor Summary

      Constructors 
      Constructor Description
      JCraftUserInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 message)  
      boolean promptPassword​(java.lang.String message)  
      boolean promptYesNo​(java.lang.String str)  
      void showMessage​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • JCraftUserInfo

        public JCraftUserInfo()
    • Method Detail

      • getPassword

        public java.lang.String getPassword()
        Specified by:
        getPassword in interface com.jcraft.jsch.UserInfo
      • promptYesNo

        public boolean promptYesNo​(java.lang.String str)
        Specified by:
        promptYesNo in interface com.jcraft.jsch.UserInfo
      • getPassphrase

        public java.lang.String getPassphrase()
        Specified by:
        getPassphrase in interface com.jcraft.jsch.UserInfo
      • promptPassphrase

        public boolean promptPassphrase​(java.lang.String message)
        Specified by:
        promptPassphrase in interface com.jcraft.jsch.UserInfo
      • promptPassword

        public boolean promptPassword​(java.lang.String message)
        Specified by:
        promptPassword in interface com.jcraft.jsch.UserInfo
      • showMessage

        public void showMessage​(java.lang.String message)
        Specified by:
        showMessage in interface com.jcraft.jsch.UserInfo
      • 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