Interface ServerFactoryManager

    • Field Detail

      • MAX_CONCURRENT_SESSIONS

        static final java.lang.String MAX_CONCURRENT_SESSIONS
        Key used to retrieve the value of the maximum concurrent open session count per username. If not set, then unlimited
        See Also:
        Constant Field Values
      • SERVER_EXTRA_IDENTIFICATION_LINES

        static final java.lang.String SERVER_EXTRA_IDENTIFICATION_LINES
        Key used to retrieve any extra lines to be sent during initial protocol handshake before the identification. The configured string value should use 124 character to denote line breaks
        See Also:
        Constant Field Values
      • SERVER_IDENTIFICATION

        static final java.lang.String SERVER_IDENTIFICATION
        Key used to retrieve the value of the server identification string. If set, then it is appended to the (standard) "SSH-2.0-" prefix. Otherwise a default is sent that consists of "SSH-2.0-" plus the current SSHD artifact name and version in uppercase - e.g., "SSH-2.0-APACHE-SSHD-1.0.0"
        See Also:
        Constant Field Values
      • COMMAND_EXIT_TIMEOUT

        static final java.lang.String COMMAND_EXIT_TIMEOUT
        Key used to configure the timeout used when receiving a close request on a channel to wait until the command cleanly exits after setting an EOF on the input stream. In milliseconds.
        See Also:
        DEFAULT_COMMAND_EXIT_TIMEOUT, Constant Field Values
      • DEFAULT_COMMAND_EXIT_TIMEOUT

        static final long DEFAULT_COMMAND_EXIT_TIMEOUT
        Default "command-exit-timeout" if not set
      • MODULI_URL

        static final java.lang.String MODULI_URL
        A URL pointing to the moduli file. If not specified, the default internal file will be used.
        See Also:
        Constant Field Values
    • Method Detail

      • getShellFactory

        ShellFactory getShellFactory()
        Retrieve the ShellFactory object to be used to create shells.
        Returns:
        a valid ShellFactory object or null if shells are not supported on this server
      • getCommandFactory

        CommandFactory getCommandFactory()
        Retrieve the CommandFactory to be used to process commands requests.
        Returns:
        A valid CommandFactory object or null if commands are not supported on this server
      • getSubsystemFactories

        java.util.List<SubsystemFactory> getSubsystemFactories()
        Retrieve the list of named factories for CommandFactory.Command to be used to create subsystems.
        Returns:
        a list of named SubsystemFactory-ies or null/empty if subsystems are not supported on this server