public interface ServerFactoryManager extends FactoryManager
ServerFactoryManager
enable the retrieval of additional
configuration needed specifically for the server side.Modifier and Type | Field and Description |
---|---|
static String |
AUTH_TIMEOUT
Key used to retrieve the value of the timeout after which
the server will close the connection if the client has not been
authenticated.
|
static String |
IDLE_TIMEOUT
Key used to retrieve the value of idle timeout after which
the server will close the connection.
|
static String |
MAX_AUTH_REQUESTS
Key used to retrieve the value in the configuration properties map
of the maximum number of failed authentication requests before the
server closes the connection.
|
static String |
MAX_CONCURRENT_SESSIONS
Key used to retrieve the value of the maximum concurrent open session count per username
|
static String |
SERVER_IDENTIFICATION
Key used to retrieve the value of the server identification string if not default.
|
DEFAULT_NIO_WORKERS, MAX_PACKET_SIZE, NIO_WORKERS, WINDOW_SIZE
Modifier and Type | Method and Description |
---|---|
CommandFactory |
getCommandFactory()
Retrieve the
CommandFactory to be used to process commands requests. |
FileSystemFactory |
getFileSystemFactory()
Retrieve the
FileSystemFactory to be used to traverse the file system. |
ForwardingFilter |
getForwardingFilter()
Retrieve the
ForwardingFilter to be used by the SSH server. |
GSSAuthenticator |
getGSSAuthenticator()
Retrieve the
GSSAuthenticator to be used by the SSH server. |
PasswordAuthenticator |
getPasswordAuthenticator()
Retrieve the
PasswordAuthenticator to be used by the SSH server. |
PublickeyAuthenticator |
getPublickeyAuthenticator()
Retrieve the
PublickeyAuthenticator to be used by SSH server. |
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. |
List<NamedFactory<UserAuth>> |
getUserAuthFactories()
Retrieve the list of named factories for
UserAuth |
ForwardingAcceptorFactory |
getX11ForwardingAcceptorFactory()
Retrieve the IoAcceptor factory to be used to accept incoming connections
for X11 Forwards.
|
getAgentFactory, getChannelFactories, getCipherFactories, getCompressionFactories, getKeyExchangeFactories, getKeyPairProvider, getMacFactories, getProperties, getRandomFactory, getScheduledExecutorService, getSignatureFactories, getTcpipForwardingAcceptorFactory, getVersion
static final String MAX_CONCURRENT_SESSIONS
static final String SERVER_IDENTIFICATION
static final String MAX_AUTH_REQUESTS
static final String AUTH_TIMEOUT
static final String IDLE_TIMEOUT
List<NamedFactory<UserAuth>> getUserAuthFactories()
UserAuth objects.
UserAuth
factories, never null
PublickeyAuthenticator getPublickeyAuthenticator()
PublickeyAuthenticator
to be used by SSH server.
If no authenticator has been configured (i.e. this method returns
null
), then client authentication requests based on keys will be
rejected.PublickeyAuthenticato
or null
PasswordAuthenticator getPasswordAuthenticator()
PasswordAuthenticator
to be used by the SSH server.
If no authenticator has been configured (i.e. this method returns
null
), then client authentication requests based on passwords
will be rejected.PasswordAuthenticator
or null
GSSAuthenticator getGSSAuthenticator()
GSSAuthenticator
to be used by the SSH server.
If no authenticator has been configured (i.e. this method returns
null
), then client authentication requests based on gssapi
will be rejected.GSSAuthenticator
or null
ForwardingFilter getForwardingFilter()
ForwardingFilter
to be used by the SSH server.
If no filter has been configured (i.e. this method returns
null
), then all forwarding requests will be rejected.ForwardingFilter
or null
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 serverFileSystemFactory getFileSystemFactory()
FileSystemFactory
to be used to traverse the file system.FileSystemFactory
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 serverForwardingAcceptorFactory getX11ForwardingAcceptorFactory()
ForwardNioAcceptorFactory
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.