public class PasswordOverKeyboardInteractiveCallback extends java.lang.Object implements KeyboardInteractiveCallback
| Constructor and Description |
|---|
PasswordOverKeyboardInteractiveCallback(PasswordAuthenticator auth) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(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(SshConnection con)
init in interface KeyboardInteractiveCallbackpublic void showPrompts(java.lang.String name,
java.lang.String instruction,
KeyboardInteractivePrompt[] prompts,
KeyboardInteractivePromptCompletor completor)
showPrompts in interface KeyboardInteractiveCallbackname - instruction - prompts - completor - Copyright © 2022. All rights reserved.