public class KeyboardInteractiveConsoleClientAuthentication
extends com.jscape.inet.ssh.protocol.v2.authentication.AbstractKeyboardInteractiveClientAuthentication
ClientAuthentication.InvalidCredentialsException, ClientAuthentication.PartialSuccessException
Constructor and Description |
---|
KeyboardInteractiveConsoleClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory,
java.lang.String username,
com.jscape.util.cli.Console console)
Creates a new operation instance.
|
Modifier and Type | Method and Description |
---|---|
static KeyboardInteractiveConsoleClientAuthentication |
systemConsoleAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory,
java.lang.String username)
Returns an authentication operation which uses a system console.
|
static KeyboardInteractiveConsoleClientAuthentication |
systemConsoleAuthentication(java.lang.String username)
Returns an authentication operation which uses a system console.
|
applyTo
public KeyboardInteractiveConsoleClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory, java.lang.String username, com.jscape.util.cli.Console console)
username
- an usernameconsole
- console instancepublic static KeyboardInteractiveConsoleClientAuthentication systemConsoleAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory, java.lang.String username)
username
- an usernamepublic static KeyboardInteractiveConsoleClientAuthentication systemConsoleAuthentication(java.lang.String username)
username
- an usernameCopyright © JSCAPE LLC. 1999-2023. All Rights Reserved