public class ConsolePasswordAuthenticator extends java.lang.Object implements SshPasswordAuthenticator
| Constructor and Description |
|---|
ConsolePasswordAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTypeName()
Get the name of this authenticator (e.g "password", "publickey" etc).
|
char[] |
promptForPassword(SshClient session,
java.lang.String message)
Invoked when a password.
|
public char[] promptForPassword(SshClient session, java.lang.String message)
SshPasswordPromptpromptForPassword in interface SshPasswordPromptsession - sessionmessage - messagenull if password is not available (e.g.
cancelled)public java.lang.String getTypeName()
SshAuthenticatorgetTypeName in interface SshAuthenticatorCopyright © 2018. All rights reserved.