public interface ServerFactoryManager extends FactoryManager, ServerAuthenticationManager
ServerFactoryManager
enable the retrieval of additional
configuration needed specifically for the server side.SignatureFactoriesManager.Utils
ServerAuthenticationManager.Utils
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_METHODS
This key is used when configuring multi-step authentications.
|
static 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.
|
static long |
DEFAULT_COMMAND_EXIT_TIMEOUT
Default
COMMAND_EXIT_TIMEOUT if not set |
static String |
DEFAULT_WELCOME_BANNER_LANGUAGE
Default value for
WELCOME_BANNER_LANGUAGE is not overwritten |
static String |
MAX_CONCURRENT_SESSIONS
Key used to retrieve the value of the maximum concurrent open session count per username.
|
static String |
MODULI_URL
A URL pointing to the moduli file.
|
static String |
SERVER_IDENTIFICATION
Key used to retrieve the value of the server identification string if not default.
|
static String |
WELCOME_BANNER
Key used to retrieve the value of welcome banner that will be displayed
when a user connects to the server.
|
static String |
WELCOME_BANNER_LANGUAGE
Key used to denote the language code for the welcome banner (if such
a banner is configured).
|
AUTH_TIMEOUT, CHANNEL_CLOSE_TIMEOUT, DEFAULT_AUTH_TIMEOUT, DEFAULT_CHANNEL_CLOSE_TIMEOUT, DEFAULT_DISCONNECT_TIMEOUT, DEFAULT_IDLE_TIMEOUT, DEFAULT_IGNORE_MESSAGE_FREQUENCY, DEFAULT_IGNORE_MESSAGE_SIZE, DEFAULT_IGNORE_MESSAGE_VARIANCE, DEFAULT_MAX_PACKET_SIZE, DEFAULT_NIO_WORKERS, DEFAULT_REKEY_BYTES_LIMIT, DEFAULT_REKEY_PACKETS_LIMIT, DEFAULT_REKEY_TIME_LIMIT, DEFAULT_VERSION, DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_TIMEOUT, DISCONNECT_TIMEOUT, IDLE_TIMEOUT, IGNORE_MESSAGE_FREQUENCY, IGNORE_MESSAGE_SIZE, IGNORE_MESSAGE_VARIANCE, MAX_PACKET_SIZE, NIO_WORKERS, NIO2_READ_BUFFER_SIZE, REKEY_BLOCKS_LIMIT, REKEY_BYTES_LIMIT, REKEY_PACKETS_LIMIT, REKEY_TIME_LIMIT, SOCKET_BACKLOG, SOCKET_KEEPALIVE, SOCKET_LINGER, SOCKET_RCVBUF, SOCKET_REUSEADDR, SOCKET_SNDBUF, TCP_NODELAY, WINDOW_SIZE, WINDOW_TIMEOUT
DEFAULT_MAX_AUTH_REQUESTS, MAX_AUTH_REQUESTS
Modifier and Type | Method and Description |
---|---|
CommandFactory |
getCommandFactory()
Retrieve the
CommandFactory to be used to process commands requests. |
Factory<Command> |
getShellFactory()
Retrieve the
ShellFactory object to be used to create shells. |
List<NamedFactory<Command>> |
getSubsystemFactories()
Retrieve the list of named factories for
CommandFactory.Command to
be used to create subsystems. |
getAgentFactory, getChannelFactories, getFileSystemFactory, getGlobalRequestHandlers, getIoServiceFactory, getRandomFactory, getScheduledExecutorService, getServiceFactories, getTcpipForwarderFactory, getTcpipForwardingFilter, getVersion
getCipherFactories, getCompressionFactories, getKeyExchangeFactories, getMacFactories, setCipherFactories, setCompressionFactories, setKeyExchangeFactories, setMacFactories
getKeyPairProvider, setKeyPairProvider
getSignatureFactories, setSignatureFactories
addSessionListener, getSessionListenerProxy, removeSessionListener
addChannelListener, getChannelListenerProxy, removeChannelListener
getParentPropertyResolver, getProperties
getGSSAuthenticator, getHostBasedAuthenticator, getKeyboardInteractiveAuthenticator, getPasswordAuthenticator, getPublickeyAuthenticator, getUserAuthFactories, setGSSAuthenticator, setHostBasedAuthenticator, setKeyboardInteractiveAuthenticator, setPasswordAuthenticator, setPublickeyAuthenticator, setUserAuthFactories
static final String MAX_CONCURRENT_SESSIONS
static final String SERVER_IDENTIFICATION
static final String WELCOME_BANNER
null
/empty then no banner
will be sent.static final String WELCOME_BANNER_LANGUAGE
DEFAULT_WELCOME_BANNER_LANGUAGE
is usedstatic final String DEFAULT_WELCOME_BANNER_LANGUAGE
WELCOME_BANNER_LANGUAGE
is not overwrittenstatic final String AUTH_METHODS
publickey,password publickey,keyboard-interactive
would require the user to complete public key authentication,
followed by either password or keyboard interactive authentication.
Only methods that are next in one or more lists are offered at each
stage, so for this example, it would not be possible to attempt
password or keyboard-interactive authentication before public key.static final String COMMAND_EXIT_TIMEOUT
static final long DEFAULT_COMMAND_EXIT_TIMEOUT
COMMAND_EXIT_TIMEOUT
if not setstatic final String MODULI_URL
Factory<Command> getShellFactory()
ShellFactory
object to be used to create shells.ShellFactory
object or null
if shells
are not supported on this serverCommandFactory getCommandFactory()
CommandFactory
to be used to process commands requests.CommandFactory
object or null
if commands
are not supported on this serverList<NamedFactory<Command>> getSubsystemFactories()
CommandFactory.Command
to
be used to create subsystems.CommandFactory.Command
factories
or null
if subsystems are not supported on this serverCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.