public class CallbackContextFactory extends java.lang.Object implements com.sshtools.synergy.nio.ProtocolContextFactory<SshClientContext>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CALLBACK_IDENTIFIER |
static java.lang.String |
CALLBACK_MEMO |
Constructor and Description |
---|
CallbackContextFactory(com.sshtools.common.auth.MutualKeyAuthenticatonStore store,
CallbackRegistrationService callbacks,
AbstractSshServer server) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureCallbackContext(SshClientContext clientContext) |
protected void |
configureServerContext(SshServerContext serverContext,
java.nio.channels.SocketChannel sc) |
SshClientContext |
createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext,
java.nio.channels.SocketChannel sc) |
protected SshServerContext |
createServerContext(com.sshtools.synergy.nio.SshEngineContext daemonContext) |
void |
setCallbackIdentifier(java.lang.String callbackIdentifier) |
void |
setMutualAuthenticationStore(com.sshtools.common.auth.MutualKeyAuthenticatonStore store) |
public static final java.lang.String CALLBACK_IDENTIFIER
public static final java.lang.String CALLBACK_MEMO
public CallbackContextFactory(com.sshtools.common.auth.MutualKeyAuthenticatonStore store, CallbackRegistrationService callbacks, AbstractSshServer server)
protected SshServerContext createServerContext(com.sshtools.synergy.nio.SshEngineContext daemonContext) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public SshClientContext createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext, java.nio.channels.SocketChannel sc) throws java.io.IOException, com.sshtools.common.ssh.SshException
createContext
in interface com.sshtools.synergy.nio.ProtocolContextFactory<SshClientContext>
java.io.IOException
com.sshtools.common.ssh.SshException
protected void configureCallbackContext(SshClientContext clientContext)
public void setCallbackIdentifier(java.lang.String callbackIdentifier)
public void setMutualAuthenticationStore(com.sshtools.common.auth.MutualKeyAuthenticatonStore store)
protected void configureServerContext(SshServerContext serverContext, java.nio.channels.SocketChannel sc) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
Copyright © 2023. All rights reserved.