Uses of Interface
com.sshtools.client.ClientAuthenticator
Packages that use ClientAuthenticator
-
Uses of ClientAuthenticator in com.sshtools.client
Classes in com.sshtools.client that implement ClientAuthenticatorModifier and TypeClassDescriptionclass
Implements public key authentication taking a separately loaded SshKeyPair as the private key for authentication.class
Implements public key authentication, taking a java.io.File object as the source private key.class
Implements the keyboard-interactive authentication method.class
Implements public key authentication, taking a com.sshtools.publickey.SshKeyPair object as the source private key.class
class
Implements the password authentication method.class
Implements public key authentication, taking a java.io.File object as the source private key.class
Implements public key authentication taking a separately loaded SshKeyPair as the private key for authentication.class
A simple base class for implementing non-interactive authentication methods.Methods in com.sshtools.client that return types with arguments of type ClientAuthenticatorMethods in com.sshtools.client with parameters of type ClientAuthenticatorModifier and TypeMethodDescriptionvoid
AuthenticationProtocolClient.addAuthentication
(ClientAuthenticator authenticator) SshClientContext.addAuthenticator
(ClientAuthenticator auth) SshClient.SshClientBuilder.addAuthenticators
(ClientAuthenticator... authenticators) Add one or moreClientAuthenticator
instances that will be presented to the server one at a time.boolean
SshClient.authenticate
(ClientAuthenticator authenticator, long timeout) void
NotifiedPrompt.completed
(boolean success, String value, ClientAuthenticator authenticator) default void
PassphrasePrompt.completed
(boolean success, String value, ClientAuthenticator authenticator) default void
PasswordAuthenticator.PasswordPrompt.completed
(boolean success, String value, ClientAuthenticator authenticator) SshClient.SshClientBuilder.withAuthenticators
(ClientAuthenticator... authenticators) Set the list of one or moreClientAuthenticator
instances that will be presented to the server one at a time.Method parameters in com.sshtools.client with type arguments of type ClientAuthenticatorModifier and TypeMethodDescriptionvoid
AuthenticationProtocolClient.addAuthentication
(Collection<ClientAuthenticator> auths) SshClient.SshClientBuilder.addAuthenticators
(Collection<ClientAuthenticator> authenticators) Add one or moreClientAuthenticator
instances that will be presented to the server one at a time.SshClient.SshClientBuilder.withAuthenticators
(Collection<ClientAuthenticator> authenticators) Set the list of one or moreClientAuthenticator
instances that will be presented to the server one at a time. -
Uses of ClientAuthenticator in com.sshtools.server.callback
Classes in com.sshtools.server.callback that implement ClientAuthenticator