Package com.sshtools.client
Class KeyboardInteractiveAuthenticator
java.lang.Object
com.sshtools.common.ssh.AbstractRequestFuture
com.sshtools.client.SimpleClientAuthenticator
com.sshtools.client.KeyboardInteractiveAuthenticator
- All Implemented Interfaces:
ClientAuthenticator,RequestFuture
public class KeyboardInteractiveAuthenticator
extends SimpleClientAuthenticator
implements ClientAuthenticator
Implements the keyboard-interactive authentication method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(TransportProtocolClient transport, String username) Start the authenticationgetName()The authentication mechanism name/.booleanprocessMessage(com.sshtools.common.util.ByteArrayReader msg) Process an authentication message.Methods inherited from class com.sshtools.client.SimpleClientAuthenticator
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, successMethods inherited from class com.sshtools.common.ssh.AbstractRequestFuture
addFutureListener, done, isDone, isSuccess, waitFor, waitForeverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.client.ClientAuthenticator
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, successMethods inherited from interface com.sshtools.common.ssh.RequestFuture
addFutureListener, isDone, isDoneAndSuccess, isSuccess, waitFor, waitForever
-
Constructor Details
-
KeyboardInteractiveAuthenticator
-
-
Method Details
-
authenticate
Description copied from interface:ClientAuthenticatorStart the authentication- Specified by:
authenticatein interfaceClientAuthenticator
-
processMessage
Description copied from interface:ClientAuthenticatorProcess an authentication message.- Specified by:
processMessagein interfaceClientAuthenticator- Overrides:
processMessagein classSimpleClientAuthenticator- Returns:
- Throws:
IOException
-
getName
Description copied from interface:ClientAuthenticatorThe authentication mechanism name/.- Specified by:
getNamein interfaceClientAuthenticator- Returns:
-