public interface FactoryManager extends KexFactoryManager, SessionListenerManager, ChannelListenerManager, PropertyResolver
NamedFactory
used
in the SSH protocol.SignatureFactoriesManager.Utils
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_TIMEOUT
Key used to retrieve the value of the timeout after which
it will close the connection if the other side has not been
authenticated - in milliseconds.
|
static String |
CHANNEL_CLOSE_TIMEOUT
Key used to configure the timeout used when writing a close request
on a channel.
|
static long |
DEFAULT_AUTH_TIMEOUT
Default value for
AUTH_TIMEOUT if none set |
static long |
DEFAULT_CHANNEL_CLOSE_TIMEOUT
Default
CHANNEL_CLOSE_TIMEOUT value if none set |
static long |
DEFAULT_DISCONNECT_TIMEOUT
Default value for
DISCONNECT_TIMEOUT if none set |
static long |
DEFAULT_IDLE_TIMEOUT
Default value for
IDLE_TIMEOUT if none set |
static long |
DEFAULT_IGNORE_MESSAGE_FREQUENCY
Default value of
IGNORE_MESSAGE_FREQUENCY if none set. |
static int |
DEFAULT_IGNORE_MESSAGE_SIZE
Value of
IGNORE_MESSAGE_SIZE if none configured |
static int |
DEFAULT_IGNORE_MESSAGE_VARIANCE
Default value for
IGNORE_MESSAGE_VARIANCE if none configured |
static int |
DEFAULT_MAX_PACKET_SIZE
Default
MAX_PACKET_SIZE if none set |
static int |
DEFAULT_NIO_WORKERS
Default number of worker threads to use if none set.
|
static long |
DEFAULT_REKEY_BYTES_LIMIT
Default value for
REKEY_BYTES_LIMIT if no override |
static long |
DEFAULT_REKEY_PACKETS_LIMIT
Default value for
REKEY_PACKETS_LIMIT if none specified |
static long |
DEFAULT_REKEY_TIME_LIMIT
Default value for
REKEY_TIME_LIMIT if none specified |
static String |
DEFAULT_VERSION
The default reported version of
getVersion() if the built-in
version information cannot be accessed |
static int |
DEFAULT_WINDOW_SIZE
Default
WINDOW_SIZE if none set |
static long |
DEFAULT_WINDOW_TIMEOUT
Default
WINDOW_TIMEOUT value |
static String |
DISCONNECT_TIMEOUT
Key used to retrieve the value of the disconnect timeout which
is used when a disconnection is attempted.
|
static String |
IDLE_TIMEOUT
Key used to retrieve the value of idle timeout after which
it will close the connection - in milliseconds.
|
static String |
IGNORE_MESSAGE_FREQUENCY
Average number of packets to be skipped before an
SSH_MSG_IGNORE
message is inserted in the stream. |
static String |
IGNORE_MESSAGE_SIZE
Minimum size of
SSH_MSG_IGNORE payload to send if feature enabled. |
static String |
IGNORE_MESSAGE_VARIANCE
The variance to be used around the configured
IGNORE_MESSAGE_FREQUENCY
value in order to avoid insertion at a set frequency. |
static String |
MAX_PACKET_SIZE
Key used to retrieve the value of the maximum packet size
in the configuration properties map.
|
static String |
NIO_WORKERS
Number of NIO worker threads to use.
|
static String |
NIO2_READ_BUFFER_SIZE
Read buffer size for NIO2 sessions
See
Nio2Session |
static String |
REKEY_BLOCKS_LIMIT
Key re-exchange will be automatically performed after the specified
number of cipher blocks has been processed - positive 64-bit value.
|
static String |
REKEY_BYTES_LIMIT
Key re-exchange will be automatically performed after the session
has sent or received the given amount of bytes.
|
static String |
REKEY_PACKETS_LIMIT
Key re-exchange will be automatically performed after the specified
number of packets has been exchanged - positive 64-bit value.
|
static String |
REKEY_TIME_LIMIT
Key re-exchange will be automatically performed after the specified
amount of time has elapsed since the last key exchange - in milliseconds.
|
static String |
SOCKET_BACKLOG
Socket backlog.
|
static String |
SOCKET_KEEPALIVE
Socket keep-alive.
|
static String |
SOCKET_LINGER
Socket linger.
|
static String |
SOCKET_RCVBUF
Socket receive buffer size.
|
static String |
SOCKET_REUSEADDR
Socket reuse address.
|
static String |
SOCKET_SNDBUF
Socket send buffer size.
|
static String |
TCP_NODELAY
Socket tcp no-delay.
|
static String |
WINDOW_SIZE
Key used to retrieve the value of the channel window size in the
configuration properties map.
|
static String |
WINDOW_TIMEOUT
Key used to retrieve timeout (msec.) to wait for data to
become available when reading from a channel.
|
Modifier and Type | Method and Description |
---|---|
SshAgentFactory |
getAgentFactory()
Retrieve the agent factory for creating
SshAgent objects. |
List<NamedFactory<Channel>> |
getChannelFactories()
Retrieve the list of named factories for
Channel objects. |
FileSystemFactory |
getFileSystemFactory()
Retrieve the
FileSystemFactory to be used to traverse the file system. |
List<RequestHandler<ConnectionService>> |
getGlobalRequestHandlers()
Retrieve the list of global request handlers.
|
IoServiceFactory |
getIoServiceFactory() |
Factory<Random> |
getRandomFactory()
Retrieve the
Random factory to be used. |
ScheduledExecutorService |
getScheduledExecutorService()
Retrieve the
ScheduledExecutorService to be used. |
List<ServiceFactory> |
getServiceFactories()
Retrieve the list of SSH
Service factories. |
TcpipForwarderFactory |
getTcpipForwarderFactory()
Retrieve the tcpip forwarder factory used to support tcpip forwarding.
|
ForwardingFilter |
getTcpipForwardingFilter()
Retrieve the
ForwardingFilter to be used by the SSH server. |
String |
getVersion()
An upper case string identifying the version of the software used on
client or server side.
|
getCipherFactories, getCompressionFactories, getKeyExchangeFactories, getMacFactories, setCipherFactories, setCompressionFactories, setKeyExchangeFactories, setMacFactories
getKeyPairProvider, setKeyPairProvider
getSignatureFactories, setSignatureFactories
addSessionListener, getSessionListenerProxy, removeSessionListener
addChannelListener, getChannelListenerProxy, removeChannelListener
getParentPropertyResolver, getProperties
static final String WINDOW_SIZE
DEFAULT_WINDOW_SIZE
,
Constant Field Valuesstatic final int DEFAULT_WINDOW_SIZE
WINDOW_SIZE
if none setstatic final String WINDOW_TIMEOUT
DEFAULT_WINDOW_TIMEOUT
,
Constant Field Valuesstatic final long DEFAULT_WINDOW_TIMEOUT
WINDOW_TIMEOUT
valuestatic final String MAX_PACKET_SIZE
DEFAULT_MAX_PACKET_SIZE
,
Constant Field Valuesstatic final int DEFAULT_MAX_PACKET_SIZE
MAX_PACKET_SIZE
if none setstatic final String NIO_WORKERS
DEFAULT_NIO_WORKERS
,
Constant Field Valuesstatic final int DEFAULT_NIO_WORKERS
static final String AUTH_TIMEOUT
DEFAULT_AUTH_TIMEOUT
,
Constant Field Valuesstatic final long DEFAULT_AUTH_TIMEOUT
AUTH_TIMEOUT
if none setstatic final String IDLE_TIMEOUT
DEFAULT_IDLE_TIMEOUT
,
Constant Field Valuesstatic final long DEFAULT_IDLE_TIMEOUT
IDLE_TIMEOUT
if none setstatic final String DISCONNECT_TIMEOUT
DEFAULT_DISCONNECT_TIMEOUT
,
Constant Field Valuesstatic final long DEFAULT_DISCONNECT_TIMEOUT
DISCONNECT_TIMEOUT
if none setstatic final String CHANNEL_CLOSE_TIMEOUT
DEFAULT_AUTH_TIMEOUT
,
Constant Field Valuesstatic final long DEFAULT_CHANNEL_CLOSE_TIMEOUT
CHANNEL_CLOSE_TIMEOUT
value if none setstatic final String SOCKET_BACKLOG
AsynchronousServerSocketChannel.bind(java.net.SocketAddress, int)
static final String SOCKET_KEEPALIVE
StandardSocketOptions.SO_KEEPALIVE
static final String SOCKET_SNDBUF
StandardSocketOptions.SO_SNDBUF
static final String SOCKET_RCVBUF
StandardSocketOptions.SO_RCVBUF
static final String SOCKET_REUSEADDR
StandardSocketOptions.SO_REUSEADDR
static final String SOCKET_LINGER
StandardSocketOptions.SO_LINGER
static final String TCP_NODELAY
StandardSocketOptions.TCP_NODELAY
static final String NIO2_READ_BUFFER_SIZE
Nio2Session
static final String DEFAULT_VERSION
getVersion()
if the built-in
version information cannot be accessedstatic final String REKEY_BYTES_LIMIT
DEFAULT_REKEY_BYTES_LIMIT
static final long DEFAULT_REKEY_BYTES_LIMIT
REKEY_BYTES_LIMIT
if no overridestatic final String REKEY_TIME_LIMIT
DEFAULT_REKEY_TIME_LIMIT
static final long DEFAULT_REKEY_TIME_LIMIT
REKEY_TIME_LIMIT
if none specifiedstatic final String REKEY_PACKETS_LIMIT
DEFAULT_REKEY_PACKETS_LIMIT
static final long DEFAULT_REKEY_PACKETS_LIMIT
REKEY_PACKETS_LIMIT
if none specifiedstatic final String REKEY_BLOCKS_LIMIT
static final String IGNORE_MESSAGE_FREQUENCY
SSH_MSG_IGNORE
message is inserted in the stream. If non-positive, then feature is disabledIGNORE_MESSAGE_VARIANCE
,
Constant Field Valuesstatic final long DEFAULT_IGNORE_MESSAGE_FREQUENCY
IGNORE_MESSAGE_FREQUENCY
if none set.static final String IGNORE_MESSAGE_VARIANCE
IGNORE_MESSAGE_FREQUENCY
value in order to avoid insertion at a set frequency. If zero, then exact
frequency is used. If negative, then the absolute value is used. If
greater or equal to the frequency, then assumed to be zero - i.e., no variancestatic final int DEFAULT_IGNORE_MESSAGE_VARIANCE
IGNORE_MESSAGE_VARIANCE
if none configuredstatic final String IGNORE_MESSAGE_SIZE
SSH_MSG_IGNORE
payload to send if feature enabled. If
non-positive then no message is sent. Otherwise, the actual size is between this
size and twice its valuestatic final int DEFAULT_IGNORE_MESSAGE_SIZE
IGNORE_MESSAGE_SIZE
if none configuredString getVersion()
SSHD-1.0
IoServiceFactory getIoServiceFactory()
Factory<Random> getRandomFactory()
Random
factory to be used.Random
factory, never null
List<NamedFactory<Channel>> getChannelFactories()
Channel
objects.Channel
factories, never null
SshAgentFactory getAgentFactory()
SshAgent
objects.ScheduledExecutorService getScheduledExecutorService()
ScheduledExecutorService
to be used.ScheduledExecutorService
, never null
ForwardingFilter getTcpipForwardingFilter()
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
TcpipForwarderFactory getTcpipForwarderFactory()
TcpipForwarderFactory
FileSystemFactory getFileSystemFactory()
FileSystemFactory
to be used to traverse the file system.FileSystemFactory
object or null
if file based
interactions are not supported on this serverList<ServiceFactory> getServiceFactories()
Service
factories.Service
factories, never null
List<RequestHandler<ConnectionService>> getGlobalRequestHandlers()
GlobalRequestHandler
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.