public class PasswordAuthenticationClient extends SshAuthenticationClient
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
password |
| Constructor and Description |
|---|
PasswordAuthenticationClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationProtocolClient authentication,
java.lang.String serviceToStart) |
boolean |
canAuthenticate() |
java.lang.String |
getMethodName() |
java.util.Properties |
getPersistableProperties() |
void |
reset() |
void |
setPassword(java.lang.String password) |
void |
setPasswordChangePrompt(PasswordChangePrompt changePrompt) |
void |
setPersistableProperties(java.util.Properties properties) |
canPrompt, getAuthenticationPrompt, getUsername, setAuthenticationPrompt, setUsernamepublic final java.lang.String getMethodName()
getMethodName in class SshAuthenticationClientpublic final void setPassword(java.lang.String password)
password - public void reset()
reset in class SshAuthenticationClientpublic void setPasswordChangePrompt(PasswordChangePrompt changePrompt)
changePrompt - public void authenticate(AuthenticationProtocolClient authentication, java.lang.String serviceToStart) throws java.io.IOException, TerminatedStateException
authenticate in class SshAuthenticationClientjava.io.IOExceptionTerminatedStateExceptionpublic java.util.Properties getPersistableProperties()
getPersistableProperties in class SshAuthenticationClientpublic void setPersistableProperties(java.util.Properties properties)
setPersistableProperties in class SshAuthenticationClientproperties - public boolean canAuthenticate()
canAuthenticate in class SshAuthenticationClientCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.