public abstract class SimpleClientAuthenticator extends com.sshtools.common.ssh.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, waitForever
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, getName
public boolean processMessage(com.sshtools.common.util.ByteArrayReader msg) throws java.io.IOException, com.sshtools.common.ssh.SshException
ClientAuthenticator
processMessage
in interface ClientAuthenticator
java.io.IOException
com.sshtools.common.ssh.SshException
public boolean isMoreAuthenticationRequired()
isMoreAuthenticationRequired
in interface ClientAuthenticator
public java.lang.String[] getAuthenticationMethods()
getAuthenticationMethods
in interface ClientAuthenticator
public void success()
ClientAuthenticator
success
in interface ClientAuthenticator
public void success(boolean moreAuthenticationsRequired, java.lang.String[] authenticationMethods)
success
in interface ClientAuthenticator
public void failure()
ClientAuthenticator
failure
in interface ClientAuthenticator
public boolean isCancelled()
isCancelled
in interface ClientAuthenticator
public void cancel()
cancel
in interface ClientAuthenticator
Copyright © 2023. All rights reserved.