public class MutualCallbackAuthentication<C extends com.sshtools.common.ssh.Context>
extends java.lang.Object
implements com.sshtools.common.auth.AuthenticationMechanism
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHENTICATION_METHOD |
static int |
SSH_MSG_USERAUTH_SIGNED_CHALLENGE |
Constructor and Description |
---|
MutualCallbackAuthentication(com.sshtools.common.sshd.AbstractServerTransport<C> transport,
com.sshtools.common.auth.AbstractAuthenticationProtocol<C> authentication,
com.sshtools.common.ssh.SshConnection con,
MutualCallbackAuthenticationProvider provider) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethod() |
boolean |
processMessage(byte[] msg) |
boolean |
startRequest(java.lang.String username,
byte[] msg) |
public static final int SSH_MSG_USERAUTH_SIGNED_CHALLENGE
public static final java.lang.String AUTHENTICATION_METHOD
public MutualCallbackAuthentication(com.sshtools.common.sshd.AbstractServerTransport<C> transport, com.sshtools.common.auth.AbstractAuthenticationProtocol<C> authentication, com.sshtools.common.ssh.SshConnection con, MutualCallbackAuthenticationProvider provider)
public boolean startRequest(java.lang.String username, byte[] msg) throws java.io.IOException
startRequest
in interface com.sshtools.common.auth.AuthenticationMechanism
java.io.IOException
public boolean processMessage(byte[] msg) throws java.io.IOException
processMessage
in interface com.sshtools.common.auth.AuthenticationMechanism
java.io.IOException
public java.lang.String getMethod()
getMethod
in interface com.sshtools.common.auth.AuthenticationMechanism
Copyright © 2024. All rights reserved.