Class CallbackContextFactory

java.lang.Object
com.sshtools.server.callback.CallbackContextFactory
All Implemented Interfaces:
com.sshtools.synergy.nio.ProtocolContextFactory<SshClientContext>

public class CallbackContextFactory extends Object implements com.sshtools.synergy.nio.ProtocolContextFactory<SshClientContext>
  • Field Details

  • Constructor Details

  • Method Details

    • createServerContext

      protected SshServerContext createServerContext(com.sshtools.synergy.nio.SshEngineContext daemonContext) throws IOException, com.sshtools.common.ssh.SshException
      Throws:
      IOException
      com.sshtools.common.ssh.SshException
    • createContext

      public SshClientContext createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext, SocketChannel sc) throws IOException, com.sshtools.common.ssh.SshException
      Specified by:
      createContext in interface com.sshtools.synergy.nio.ProtocolContextFactory<SshClientContext>
      Throws:
      IOException
      com.sshtools.common.ssh.SshException
    • configureCallbackContext

      protected void configureCallbackContext(SshClientContext clientContext)
    • setCallbackIdentifier

      public void setCallbackIdentifier(String callbackIdentifier)
    • setMutualAuthenticationStore

      public void setMutualAuthenticationStore(com.sshtools.common.auth.MutualKeyAuthenticatonStore store)
    • configureServerContext

      protected void configureServerContext(SshServerContext serverContext, SocketChannel sc) throws IOException, com.sshtools.common.ssh.SshException
      Throws:
      IOException
      com.sshtools.common.ssh.SshException