org.apache.maven.wagon.providers.ssh.jsch.interactive
Class TraditionalUIKeyboardInteractive
java.lang.Object
org.apache.maven.wagon.providers.ssh.jsch.interactive.TraditionalUIKeyboardInteractive
- All Implemented Interfaces:
- com.jcraft.jsch.UIKeyboardInteractive
public class TraditionalUIKeyboardInteractive
- extends java.lang.Object
- implements com.jcraft.jsch.UIKeyboardInteractive
A conservative UIKeyboardInteractive that avoids real
user interaction :). This implementation expects only one prompt with the
word password in it.
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 21, 2005
- Author:
- Juan F. Codagnone
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraditionalUIKeyboardInteractive
public TraditionalUIKeyboardInteractive()
TraditionalUIKeyboardInteractive
public TraditionalUIKeyboardInteractive(AuthenticationInfo authInfo)
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[])
setAuthInfo
public void setAuthInfo(AuthenticationInfo authInfo)
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.