public interface ClientAuthenticator
extends com.sshtools.common.ssh.RequestFuture
Modifier and Type | Method and Description |
---|---|
void |
authenticate(TransportProtocolClient transport,
java.lang.String username)
Start the authentication
|
void |
cancel() |
void |
failure()
Called by the API to indicate authentication failure.
|
java.lang.String[] |
getAuthenticationMethods() |
java.lang.String |
getName()
The authentication mechanism name/.
|
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) |
java.lang.String getName()
void authenticate(TransportProtocolClient transport, java.lang.String username) throws java.io.IOException, com.sshtools.common.ssh.SshException
transport
- username
- java.io.IOException
com.sshtools.common.ssh.SshException
boolean processMessage(com.sshtools.common.util.ByteArrayReader msg) throws java.io.IOException, com.sshtools.common.ssh.SshException
msg
- java.io.IOException
com.sshtools.common.ssh.SshException
void success()
void failure()
boolean isMoreAuthenticationRequired()
boolean isCancelled()
void cancel()
java.lang.String[] getAuthenticationMethods()
void success(boolean moreAuthenticationsRequired, java.lang.String[] authenticationMethods)
Copyright © 2024. All rights reserved.