| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.authentication.SshAuthenticationClientcom.sshtools.j2ssh.authentication.PasswordAuthenticationClientpublic class PasswordAuthenticationClientextends SshAuthenticationClientField Summary | |
protected String | |
Method Summary | |
void |
|
boolean | |
String | |
Properties | |
void |
|
void |
|
void |
|
void |
|
Methods inherited from class com.sshtools.j2ssh.authentication.SshAuthenticationClient | |
authenticate, canAuthenticate, canPrompt, getAuthenticationPrompt, getMethodName, getPersistableProperties, getUsername, reset, setAuthenticationPrompt, setPersistableProperties, setUsername | |
public void authenticate(AuthenticationProtocolClient authentication, String serviceToStart) throws IOException, TerminatedStateException
- Overrides:
- authenticate in interface SshAuthenticationClient
public boolean canAuthenticate()
- Overrides:
- canAuthenticate in interface SshAuthenticationClient
- Returns:
public final String getMethodName()
- Overrides:
- getMethodName in interface SshAuthenticationClient
- Returns:
public Properties getPersistableProperties()
- Overrides:
- getPersistableProperties in interface SshAuthenticationClient
- Returns:
public final void setPassword(String password)
- Parameters:
password-
public void setPasswordChangePrompt(PasswordChangePrompt changePrompt)
- Parameters:
changePrompt-
public void setPersistableProperties(Properties properties)
- Overrides:
- setPersistableProperties in interface SshAuthenticationClient
- Parameters:
properties-