| 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.HostbasedAuthenticationClientpublic class HostbasedAuthenticationClientextends SshAuthenticationClientField Summary | |
protected SshPrivateKey | |
Constructor Summary | |
| |
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 HostbasedAuthenticationClient()
Creates a new HostbasedAuthenticationClient object.
public void authenticate(AuthenticationProtocolClient authentication, String serviceToStart) throws IOException, TerminatedStateException
- Overrides:
- authenticate in interface SshAuthenticationClient
- Parameters:
authentication-serviceToStart-
- Throws:
TerminatedStateException-
public boolean canAuthenticate()
- Overrides:
- canAuthenticate in interface SshAuthenticationClient
- Returns:
public String getMethodName()
- Overrides:
- getMethodName in interface SshAuthenticationClient
- Returns:
public Properties getPersistableProperties()
- Overrides:
- getPersistableProperties in interface SshAuthenticationClient
public void setClientUsername(String clientUser)
- Parameters:
clientUser-
public void setPersistableProperties(Properties properties)
- Overrides:
- setPersistableProperties in interface SshAuthenticationClient
- Parameters:
properties-