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) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureCallbackContext(SshClientContext clientContext) |
protected void |
configureServerContext(SshServerContext serverContext) |
SshClientContext |
createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext,
java.nio.channels.SocketChannel sc) |
protected SshServerContext |
createServerContext(com.sshtools.synergy.nio.SshEngineContext daemonContext) |
com.sshtools.common.ssh.SshConnection |
getCallbackClient(java.lang.String username) |
java.util.Collection<com.sshtools.common.ssh.SshConnection> |
getCallbackClients() |
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)
public java.util.Collection<com.sshtools.common.ssh.SshConnection> getCallbackClients()
public com.sshtools.common.ssh.SshConnection getCallbackClient(java.lang.String username)
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) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
Copyright © 2021. All rights reserved.