public class LocalAgentFactory extends java.lang.Object implements SshAgentFactory
| Constructor and Description |
|---|
LocalAgentFactory() |
LocalAgentFactory(SshAgent agent) |
| 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.
|
SshAgent |
getAgent() |
NamedFactory<Channel> |
getChannelForwardingFactory()
Retrieve the channel factory used to create channels on the client side.
|
public LocalAgentFactory()
public LocalAgentFactory(SshAgent agent)
public SshAgent getAgent()
public NamedFactory<Channel> getChannelForwardingFactory()
SshAgentFactorygetChannelForwardingFactory in interface SshAgentFactorypublic SshAgent createClient(FactoryManager manager) throws java.io.IOException
SshAgentFactorycreateClient in interface SshAgentFactoryjava.io.IOExceptionpublic SshAgentServer createServer(ConnectionService service) throws java.io.IOException
SshAgentFactorycreateServer in interface SshAgentFactoryjava.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.