org.apache.maven.wagon.providers.ssh
Class AbstractSshWagon.WagonUserInfo

java.lang.Object
  extended byorg.apache.maven.wagon.providers.ssh.AbstractSshWagon.WagonUserInfo
All Implemented Interfaces:
com.jcraft.jsch.UserInfo
Enclosing class:
AbstractSshWagon

private static class AbstractSshWagon.WagonUserInfo
extends java.lang.Object
implements com.jcraft.jsch.UserInfo


Field Summary
private  java.lang.String passphrase
           
private  java.lang.String password
           
private  InteractiveUserInfo userInfo
           
 
Constructor Summary
(package private) AbstractSshWagon.WagonUserInfo(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo, InteractiveUserInfo userInfo)
           
 
Method Summary
 java.lang.String getPassphrase()
           
 java.lang.String getPassword()
           
 boolean promptPassphrase(java.lang.String arg0)
           
 boolean promptPassword(java.lang.String arg0)
           
 boolean promptYesNo(java.lang.String arg0)
           
 void showMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userInfo

private final InteractiveUserInfo userInfo

password

private java.lang.String password

passphrase

private java.lang.String passphrase
Constructor Detail

AbstractSshWagon.WagonUserInfo

AbstractSshWagon.WagonUserInfo(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo,
                               InteractiveUserInfo userInfo)
Method Detail

getPassphrase

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

getPassword

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

promptPassphrase

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

promptPassword

public boolean promptPassword(java.lang.String arg0)
Specified by:
promptPassword in interface com.jcraft.jsch.UserInfo

promptYesNo

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

showMessage

public void showMessage(java.lang.String message)
Specified by:
showMessage in interface com.jcraft.jsch.UserInfo