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, setUsername
public final java.lang.String getMethodName()
getMethodName
in class SshAuthenticationClient
public final void setPassword(java.lang.String password)
password
- public void reset()
reset
in class SshAuthenticationClient
public void setPasswordChangePrompt(PasswordChangePrompt changePrompt)
changePrompt
- public void authenticate(AuthenticationProtocolClient authentication, java.lang.String serviceToStart) throws java.io.IOException, TerminatedStateException
authenticate
in class SshAuthenticationClient
java.io.IOException
TerminatedStateException
public java.util.Properties getPersistableProperties()
getPersistableProperties
in class SshAuthenticationClient
public void setPersistableProperties(java.util.Properties properties)
setPersistableProperties
in class SshAuthenticationClient
properties
- public boolean canAuthenticate()
canAuthenticate
in class SshAuthenticationClient
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.