public class KeyboardInteractivePredefinedClientAuthentication
extends com.jscape.inet.ssh.protocol.v2.authentication.AbstractKeyboardInteractiveClientAuthentication
ClientAuthentication.InvalidCredentialsException, ClientAuthentication.PartialSuccessException
Constructor and Description |
---|
KeyboardInteractivePredefinedClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory,
java.lang.String username,
java.util.List<java.lang.String> responses)
Creates a new operation instance.
|
KeyboardInteractivePredefinedClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory,
java.lang.String username,
java.lang.String... responses)
Creates a new operation instance.
|
Modifier and Type | Method and Description |
---|---|
static KeyboardInteractivePredefinedClientAuthentication |
defaultAuthentication(java.lang.String username,
java.util.List<java.lang.String> responses) |
applyTo
public KeyboardInteractivePredefinedClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory, java.lang.String username, java.util.List<java.lang.String> responses)
username
- an usernameresponses
- responsespublic KeyboardInteractivePredefinedClientAuthentication(com.jscape.inet.ssh.protocol.v2.marshaling.MessageCodec.Factory codecFactory, java.lang.String username, java.lang.String... responses)
username
- an usernameresponses
- responsespublic static KeyboardInteractivePredefinedClientAuthentication defaultAuthentication(java.lang.String username, java.util.List<java.lang.String> responses)
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved