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, successaddFutureListener, done, isDone, isSuccess, waitFor, waitForeverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFutureListener, isDone, isSuccess, waitFor, waitForeverpublic 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 SshException
ClientAuthenticatorSshExceptionpublic java.lang.String getName()
ClientAuthenticatorCopyright © 2022. All rights reserved.