org.globus.cog.abstraction.impl.execution.ssh
Class CredentialsDialog

java.lang.Object
  extended by org.globus.cog.abstraction.impl.execution.ssh.CredentialsDialog
Direct Known Subclasses:
CredentialsDialog.ConsoleCredentialsDialog, CredentialsDialog.SwingCredentialsDialog

public abstract class CredentialsDialog
extends Object


Nested Class Summary
static class CredentialsDialog.ConsoleCredentialsDialog
           
static class CredentialsDialog.ConsoleMasker
           
static class CredentialsDialog.SwingCredentialsDialog
           
 
Field Summary
protected  String privateKey
           
protected  String userName
           
 
Constructor Summary
CredentialsDialog()
           
 
Method Summary
 String getPrivateKey()
           
abstract  Object getResult()
           
 String getUserName()
           
 void setPrivateKey(String privatekey)
           
 void setUserName(String username)
           
static Object showCredentialsDialog()
           
static Object showCredentialsDialog(String userName, String privateKey)
           
static Object showCredentialsDialog(String userName, String privateKey, boolean forceTextMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

protected String userName

privateKey

protected String privateKey
Constructor Detail

CredentialsDialog

public CredentialsDialog()
Method Detail

getPrivateKey

public String getPrivateKey()

setPrivateKey

public void setPrivateKey(String privatekey)

getUserName

public String getUserName()

setUserName

public void setUserName(String username)

getResult

public abstract Object getResult()

showCredentialsDialog

public static Object showCredentialsDialog()

showCredentialsDialog

public static Object showCredentialsDialog(String userName,
                                           String privateKey)

showCredentialsDialog

public static Object showCredentialsDialog(String userName,
                                           String privateKey,
                                           boolean forceTextMode)