public class KeyboardInteractiveAuthenticator extends SimpleClientAuthenticator implements ClientAuthenticator
Constructor and Description |
---|
KeyboardInteractiveAuthenticator(KeyboardInteractiveCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(TransportProtocolClient transport,
java.lang.String username)
Start the authentication
|
java.lang.String |
getName()
The authentication mechanism name/.
|
boolean |
processMessage(com.sshtools.common.util.ByteArrayReader msg)
Process an authentication message.
|
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
addFutureListener, done, isDone, isSuccess, waitFor, waitForever
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
public KeyboardInteractiveAuthenticator(KeyboardInteractiveCallback callback)
public void authenticate(TransportProtocolClient transport, java.lang.String username)
ClientAuthenticator
authenticate
in interface ClientAuthenticator
public boolean processMessage(com.sshtools.common.util.ByteArrayReader msg) throws java.io.IOException
ClientAuthenticator
processMessage
in interface ClientAuthenticator
processMessage
in class SimpleClientAuthenticator
java.io.IOException
public java.lang.String getName()
ClientAuthenticator
getName
in interface ClientAuthenticator
Copyright © 2023. All rights reserved.