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
,com.sshtools.common.ssh.RequestFuture
public class KeyboardInteractiveAuthenticator
extends SimpleClientAuthenticator
implements ClientAuthenticator
Implements the keyboard-interactive authentication method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(TransportProtocolClient transport, String username) Start the authenticationgetName()
The authentication mechanism name/.boolean
processMessage
(com.sshtools.common.util.ByteArrayReader msg) Process an authentication message.Methods inherited from class com.sshtools.client.SimpleClientAuthenticator
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
Methods inherited from class com.sshtools.common.ssh.AbstractRequestFuture
addFutureListener, done, isDone, isSuccess, waitFor, waitForever
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sshtools.client.ClientAuthenticator
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
Methods inherited from interface com.sshtools.common.ssh.RequestFuture
addFutureListener, isDone, isDoneAndSuccess, isSuccess, waitFor, waitForever
-
Constructor Details
-
KeyboardInteractiveAuthenticator
-
-
Method Details
-
authenticate
Description copied from interface:ClientAuthenticator
Start the authentication- Specified by:
authenticate
in interfaceClientAuthenticator
-
processMessage
Description copied from interface:ClientAuthenticator
Process an authentication message.- Specified by:
processMessage
in interfaceClientAuthenticator
- Overrides:
processMessage
in classSimpleClientAuthenticator
- Returns:
- Throws:
IOException
-
getName
Description copied from interface:ClientAuthenticator
The authentication mechanism name/.- Specified by:
getName
in interfaceClientAuthenticator
- Returns:
-