public abstract class SimpleClientAuthenticator extends AbstractRequestFuture implements ClientAuthenticator
| Constructor and Description |
|---|
SimpleClientAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
failure()
Called by the API to indicate authentication failure.
|
java.lang.String[] |
getAuthenticationMethods() |
boolean |
isCancelled() |
boolean |
isMoreAuthenticationRequired() |
boolean |
processMessage(com.sshtools.common.util.ByteArrayReader msg)
Process an authentication message.
|
void |
success()
Called by the API to indicate authentication success.
|
void |
success(boolean moreAuthenticationsRequired,
java.lang.String[] authenticationMethods) |
addFutureListener, done, isDone, isSuccess, waitFor, waitForeverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getNameaddFutureListener, isDone, isSuccess, waitFor, waitForeverpublic boolean processMessage(com.sshtools.common.util.ByteArrayReader msg)
throws java.io.IOException,
SshException
ClientAuthenticatorprocessMessage in interface ClientAuthenticatorjava.io.IOExceptionSshExceptionpublic boolean isMoreAuthenticationRequired()
isMoreAuthenticationRequired in interface ClientAuthenticatorpublic java.lang.String[] getAuthenticationMethods()
getAuthenticationMethods in interface ClientAuthenticatorpublic void success()
ClientAuthenticatorsuccess in interface ClientAuthenticatorpublic void success(boolean moreAuthenticationsRequired,
java.lang.String[] authenticationMethods)
success in interface ClientAuthenticatorpublic void failure()
ClientAuthenticatorfailure in interface ClientAuthenticatorpublic boolean isCancelled()
isCancelled in interface ClientAuthenticatorpublic void cancel()
cancel in interface ClientAuthenticatorCopyright © 2022. All rights reserved.