org.apache.ivy.plugins.repository.ssh

Class SshCache.CfUserInfo

private static class SshCache.CfUserInfo extends Object implements UserInfo, UIKeyboardInteractive

feeds in password silently into JSch
Constructor Summary
CfUserInfo(String host, String userName, String userPassword, File pemFile, String pemPassword, File passfile)
Method Summary
StringgetPassphrase()
StringgetPassword()
String[]promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)
booleanpromptPassphrase(String message)
booleanpromptPassword(String message)
booleanpromptYesNo(String message)
voidshowMessage(String message)

Constructor Detail

CfUserInfo

public CfUserInfo(String host, String userName, String userPassword, File pemFile, String pemPassword, File passfile)

Method Detail

getPassphrase

public String getPassphrase()

getPassword

public String getPassword()

promptKeyboardInteractive

public String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo)

promptPassphrase

public boolean promptPassphrase(String message)

promptPassword

public boolean promptPassword(String message)

promptYesNo

public boolean promptYesNo(String message)

showMessage

public void showMessage(String message)