public class PasswordOverKeyboardInteractiveCallback extends Object implements KeyboardInteractiveCallback
Constructor and Description |
---|
PasswordOverKeyboardInteractiveCallback(PasswordAuthenticator pwdAuth) |
Modifier and Type | Method and Description |
---|---|
void |
init(Connection<SshClientContext> con) |
void |
showPrompts(String name,
String instruction,
KeyboardInteractivePrompt[] prompts,
KeyboardInteractivePromptCompletor completor)
Called by the keyboard-interactive authentication mechanism
when the server requests information from the user.
|
public PasswordOverKeyboardInteractiveCallback(PasswordAuthenticator pwdAuth)
public void init(Connection<SshClientContext> con)
init
in interface KeyboardInteractiveCallback
public void showPrompts(String name, String instruction, KeyboardInteractivePrompt[] prompts, KeyboardInteractivePromptCompletor completor)
showPrompts
in interface KeyboardInteractiveCallback
name
- instruction
- prompts
- completor
- Copyright © 2016. All rights reserved.