public class MutualCallbackAuthenticator extends SimpleClientAuthenticator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MUTUAL_KEY_AUTHENTICATION |
static int |
SSH_MSG_USERAUTH_SIGNED_CHALLENGE |
Constructor and Description |
---|
MutualCallbackAuthenticator(com.sshtools.common.auth.MutualKeyAuthenticatonStore authenticationStore) |
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/.
|
boolean |
processMessage(com.sshtools.common.util.ByteArrayReader msg)
Process an authentication message.
|
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
addFutureListener, done, isDone, isSuccess, waitFor, waitForever
public static final int SSH_MSG_USERAUTH_SIGNED_CHALLENGE
public static final java.lang.String MUTUAL_KEY_AUTHENTICATION
public MutualCallbackAuthenticator(com.sshtools.common.auth.MutualKeyAuthenticatonStore authenticationStore)
public java.lang.String getName()
ClientAuthenticator
public void authenticate(TransportProtocolClient transport, java.lang.String username) throws java.io.IOException, com.sshtools.common.ssh.SshException
ClientAuthenticator
java.io.IOException
com.sshtools.common.ssh.SshException
public boolean processMessage(com.sshtools.common.util.ByteArrayReader msg) throws java.io.IOException
ClientAuthenticator
processMessage
in interface ClientAuthenticator
processMessage
in class SimpleClientAuthenticator
java.io.IOException
Copyright © 2022. All rights reserved.