public class PasswordOverKeyboardInteractiveCallback extends java.lang.Object implements KeyboardInteractiveCallback
Constructor and Description |
---|
PasswordOverKeyboardInteractiveCallback(PasswordAuthenticator auth) |
Modifier and Type | Method and Description |
---|---|
void |
init(com.sshtools.common.ssh.SshConnection con) |
void |
showPrompts(java.lang.String name,
java.lang.String instruction,
KeyboardInteractivePrompt[] prompts,
KeyboardInteractivePromptCompletor completor)
Called by the keyboard-interactive authentication mechanism
when the server requests information from the user.
|
public PasswordOverKeyboardInteractiveCallback(PasswordAuthenticator auth)
public void init(com.sshtools.common.ssh.SshConnection con)
init
in interface KeyboardInteractiveCallback
public void showPrompts(java.lang.String name, java.lang.String instruction, KeyboardInteractivePrompt[] prompts, KeyboardInteractivePromptCompletor completor)
showPrompts
in interface KeyboardInteractiveCallback
name
- instruction
- prompts
- completor
- Copyright © 2022. All rights reserved.