public interface SshAgentFactory
SshAgentFactory is used to communicate with an SshAgent.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PROXY_AUTH_CHANNEL_TYPE |
static java.lang.String |
PREFER_UNIX_AGENT |
static java.lang.String |
PROXY_AUTH_CHANNEL_TYPE
Value that can be set in order to control the type of authentication
channel being requested when forwarding a PTY session.
|
| Modifier and Type | Method and Description |
|---|---|
SshAgent |
createClient(FactoryManager manager)
Create an SshAgent that can be used on the client side by the authentication
process to send possible keys.
|
SshAgentServer |
createServer(ConnectionService service)
Create the server side that will be used by other SSH clients.
|
java.util.List<NamedFactory<Channel>> |
getChannelForwardingFactories(FactoryManager manager)
The channels are requested by the ssh server when forwarding a client request.
|
static final java.lang.String PROXY_AUTH_CHANNEL_TYPE
DEFAULT_PROXY_AUTH_CHANNEL_TYPE is usedstatic final java.lang.String DEFAULT_PROXY_AUTH_CHANNEL_TYPE
static final java.lang.String PREFER_UNIX_AGENT
java.util.List<NamedFactory<Channel>> getChannelForwardingFactories(FactoryManager manager)
manager - The FactoryManager through which the request is madeSshAgent createClient(FactoryManager manager) throws java.io.IOException
manager - The FactoryManager instanceSshAgent instancejava.io.IOException - If failed to create the clientSshAgentServer createServer(ConnectionService service) throws java.io.IOException
service - The ConnectionService to useSshAgentServer instancejava.io.IOException - If failed to create the server