public class PasswordAuthenticator extends SimpleClientAuthenticator
Constructor and Description |
---|
PasswordAuthenticator() |
PasswordAuthenticator(char[] password) |
PasswordAuthenticator(java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(TransportProtocolClient transport,
java.lang.String username)
Start the authentication
|
java.lang.String |
getName()
The authentication mechanism name/.
|
java.lang.String |
getPassword() |
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, processMessage, success, success
addFutureListener, done, isDone, isSuccess, waitFor, waitForever
public PasswordAuthenticator()
public PasswordAuthenticator(java.lang.String password)
public PasswordAuthenticator(char[] password)
public java.lang.String getPassword()
public void authenticate(TransportProtocolClient transport, java.lang.String username) throws com.sshtools.common.ssh.SshException
ClientAuthenticator
com.sshtools.common.ssh.SshException
public java.lang.String getName()
ClientAuthenticator
Copyright © 2024. All rights reserved.