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 TypeClassDescriptionclassImplements public key authentication taking a separately loaded SshKeyPair as the private key for authentication.classImplements public key authentication, taking a java.io.File object as the source private key.classImplements the keyboard-interactive authentication method.classImplements public key authentication, taking a com.sshtools.publickey.SshKeyPair object as the source private key.classclassImplements the password authentication method.classImplements public key authentication, taking a java.io.File object as the source private key.classImplements public key authentication taking a separately loaded SshKeyPair as the private key for authentication.classA 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 TypeMethodDescriptionvoidAuthenticationProtocolClient.addAuthentication(ClientAuthenticator authenticator) SshClientContext.addAuthenticator(ClientAuthenticator auth) SshClient.SshClientBuilder.addAuthenticators(ClientAuthenticator... authenticators) Add one or moreClientAuthenticatorinstances that will be presented to the server one at a time.booleanSshClient.authenticate(ClientAuthenticator authenticator, long timeout) voidNotifiedPrompt.completed(boolean success, String value, ClientAuthenticator authenticator) default voidPassphrasePrompt.completed(boolean success, String value, ClientAuthenticator authenticator) default voidPasswordAuthenticator.PasswordPrompt.completed(boolean success, String value, ClientAuthenticator authenticator) SshClient.SshClientBuilder.withAuthenticators(ClientAuthenticator... authenticators) Set the list of one or moreClientAuthenticatorinstances that will be presented to the server one at a time.Method parameters in com.sshtools.client with type arguments of type ClientAuthenticatorModifier and TypeMethodDescriptionvoidAuthenticationProtocolClient.addAuthentication(Collection<ClientAuthenticator> auths) SshClient.SshClientBuilder.addAuthenticators(Collection<ClientAuthenticator> authenticators) Add one or moreClientAuthenticatorinstances that will be presented to the server one at a time.SshClient.SshClientBuilder.withAuthenticators(Collection<ClientAuthenticator> authenticators) Set the list of one or moreClientAuthenticatorinstances that will be presented to the server one at a time.