public interface ClientFactoryManager extends FactoryManager, ClientProxyConnectorHolder, FilePasswordProviderManager, ClientIdentityLoaderManager, ClientAuthenticationManager
ClientFactoryManager
enable the retrieval of additional configuration needed specifically for the
client side.AttributeRepository.AttributeKey<T>
SessionHeartbeatController.HeartbeatType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABORT_ON_INVALID_CERTIFICATE
Defines if we should abort in case we encounter an invalid (e.g.
|
static java.lang.String |
CLIENT_IDENTIFICATION
Key used to retrieve the value of the client identification string.
|
static boolean |
DEFAULT_ABORT_ON_INVALID_CERTIFICATE
The default is to ignore the certificate and proceed with the plain host key.
|
static long |
DEFAULT_HEARTBEAT_INTERVAL
Default value for "heartbeat-interval" if none configured
|
static long |
DEFAULT_HEARTBEAT_REPLY_WAIT
Default value for "heartbeat-reply-wait" if none is configured
|
static boolean |
DEFAULT_IGNORE_INVALID_IDENTITIES
Default value of "ignore-invalid-identities" if none configured
|
static java.lang.String |
DEFAULT_KEEP_ALIVE_HEARTBEAT_STRING
Default value for "heartbeat-request" is none configured
|
static boolean |
DEFAULT_SEND_IMMEDIATE_IDENTIFICATION
Value of "send-immediate-identification" if none configured
|
static boolean |
DEFAULT_SEND_KEXINIT |
static java.lang.String |
HEARTBEAT_INTERVAL
Key used to set the heartbeat interval in milliseconds (0 to disable = default)
|
static java.lang.String |
HEARTBEAT_REPLY_WAIT
Key used to indicate that the heartbeat request is also expecting a reply - time in milliseconds to wait
for the reply.
|
static java.lang.String |
HEARTBEAT_REQUEST
Key used to check the heartbeat request that should be sent to the server
|
static java.lang.String |
IGNORE_INVALID_IDENTITIES
Whether to ignore invalid identities files when pre-initializing the client session
|
static java.lang.String |
SEND_IMMEDIATE_IDENTIFICATION
Whether to send the identification string immediately upon session connection being established or wait for the
server's identification before sending our own.
|
static java.lang.String |
SEND_IMMEDIATE_KEXINIT
Whether to send
SSH_MSG_KEXINIT immediately after sending the client identification string or wait until
the severer's one has been received. |
AGENT_FORWARDING_TYPE, AGENT_FORWARDING_TYPE_IETF, AGENT_FORWARDING_TYPE_OPENSSH, 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_LIMIT_PACKET_SIZE, DEFAULT_MAX_IDENTIFICATION_SIZE, DEFAULT_MAX_PACKET_SIZE, DEFAULT_NIO_WORKERS, DEFAULT_NIO2_MIN_WRITE_TIMEOUT, DEFAULT_NIO2_READ_TIMEOUT, DEFAULT_REKEY_BYTES_LIMIT, DEFAULT_REKEY_PACKETS_LIMIT, DEFAULT_REKEY_TIME_LIMIT, DEFAULT_STOP_WAIT_TIME, DEFAULT_VERSION, DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_TIMEOUT, DISCONNECT_TIMEOUT, IDLE_TIMEOUT, IGNORE_MESSAGE_FREQUENCY, IGNORE_MESSAGE_SIZE, IGNORE_MESSAGE_VARIANCE, LIMIT_PACKET_SIZE, MAX_IDENTIFICATION_SIZE, MAX_PACKET_SIZE, NIO_WORKERS, NIO2_MIN_WRITE_TIMEOUT, NIO2_READ_BUFFER_SIZE, NIO2_READ_TIMEOUT, REKEY_BLOCKS_LIMIT, REKEY_BYTES_LIMIT, REKEY_PACKETS_LIMIT, REKEY_TIME_LIMIT, SOCKET_BACKLOG, SOCKET_KEEPALIVE, SOCKET_LINGER, SOCKET_RCVBUF, SOCKET_REUSEADDR, SOCKET_SNDBUF, STOP_WAIT_TIME, TCP_NODELAY, WINDOW_SIZE, WINDOW_TIMEOUT
NONE
DEFAULT_CONNECTION_HEARTBEAT_INTERVAL, SESSION_HEARTBEAT_INTERVAL, SESSION_HEARTBEAT_TYPE
EMPTY
DEFAULT_PASSWORD_PROMPTS, PASSWORD_PROMPTS, PREFERRED_AUTHS
Modifier and Type | Method and Description |
---|---|
HostConfigEntryResolver |
getHostConfigEntryResolver() |
void |
setHostConfigEntryResolver(HostConfigEntryResolver resolver) |
getAgentFactory, getAgentForwardingFilter, getChannelFactories, getFileSystemFactory, getForwarderFactory, getForwardingFilter, getGlobalRequestHandlers, getIoServiceFactory, getRandomFactory, getScheduledExecutorService, getServiceFactories, getTcpForwardingFilter, getVersion, getX11ForwardingFilter, resolveAttribute, resolveAttribute
getCipherFactories, getCipherFactoriesNameList, getCipherFactoriesNames, getCompressionFactories, getCompressionFactoriesNameList, getCompressionFactoriesNames, getKeyExchangeFactories, getMacFactories, getMacFactoriesNameList, getMacFactoriesNames, setCipherFactories, setCipherFactoriesNameList, setCipherFactoriesNames, setCipherFactoriesNames, setCompressionFactories, setCompressionFactoriesNameList, setCompressionFactoriesNames, setCompressionFactoriesNames, setKeyExchangeFactories, setMacFactories, setMacFactoriesNameList, setMacFactoriesNames, setMacFactoriesNames
getSignatureFactories, getSignatureFactories, getSignatureFactoriesNameList, getSignatureFactoriesNames, resolveSignatureFactories, setSignatureFactories, setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
getKexExtensionHandler, setKexExtensionHandler
addSessionListener, getSessionListenerProxy, removeSessionListener
getReservedSessionMessagesHandler, setReservedSessionMessagesHandler
getSessionDisconnectHandler, setSessionDisconnectHandler
addChannelListener, getChannelListenerProxy, removeChannelListener
getChannelStreamPacketWriterResolver, resolveChannelStreamPacketWriter, resolveChannelStreamPacketWriterResolver, setChannelStreamPacketWriterResolver
getUnknownChannelReferenceHandler, resolveUnknownChannelReferenceHandler, setUnknownChannelReferenceHandler
addPortForwardingEventListener, getPortForwardingEventListenerProxy, removePortForwardingEventListener
getIoServiceEventListener, setIoServiceEventListener
clearAttributes, computeAttributeIfAbsent, removeAttribute, setAttribute
attributeKeys, getAttribute, getAttributesCount, ofAttributesMap, ofKeyValuePair
disableSessionHeartbeat, getSessionHeartbeatInterval, getSessionHeartbeatType, setSessionHeartbeat, setSessionHeartbeat
getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getParentPropertyResolver, getProperties, getString, getStringProperty
getClientProxyConnector, setClientProxyConnector
setFilePasswordProvider
getFilePasswordProvider, providerHolderOf
setClientIdentityLoader
getClientIdentityLoader, loaderHolderOf
addPasswordIdentity, addPublicKeyIdentity, getPasswordIdentityProvider, getRegisteredIdentities, getServerKeyVerifier, getUserInteraction, removePasswordIdentity, removePublicKeyIdentity, setPasswordIdentityProvider, setServerKeyVerifier, setUserAuthFactoriesNames, setUserInteraction
getUserAuthFactories, getUserAuthFactoriesNameList, getUserAuthFactoriesNames, setUserAuthFactories, setUserAuthFactoriesNameList, setUserAuthFactoriesNames
getKeyIdentityProvider, setKeyIdentityProvider
static final java.lang.String CLIENT_IDENTIFICATION
static final java.lang.String SEND_IMMEDIATE_IDENTIFICATION
static final boolean DEFAULT_SEND_IMMEDIATE_IDENTIFICATION
static final java.lang.String SEND_IMMEDIATE_KEXINIT
SSH_MSG_KEXINIT
immediately after sending the client identification string or wait until
the severer's one has been received.static final boolean DEFAULT_SEND_KEXINIT
static final java.lang.String HEARTBEAT_INTERVAL
static final long DEFAULT_HEARTBEAT_INTERVAL
static final java.lang.String HEARTBEAT_REQUEST
static final java.lang.String DEFAULT_KEEP_ALIVE_HEARTBEAT_STRING
static final java.lang.String HEARTBEAT_REPLY_WAIT
static final long DEFAULT_HEARTBEAT_REPLY_WAIT
static final java.lang.String IGNORE_INVALID_IDENTITIES
static final boolean DEFAULT_IGNORE_INVALID_IDENTITIES
static final java.lang.String ABORT_ON_INVALID_CERTIFICATE
static final boolean DEFAULT_ABORT_ON_INVALID_CERTIFICATE
HostConfigEntryResolver getHostConfigEntryResolver()
HostConfigEntryResolver
to use in order to resolve the effective session parameters - never
null
void setHostConfigEntryResolver(HostConfigEntryResolver resolver)