org.apache.sshd.agent.local
Class ProxyAgentFactory

java.lang.Object
  extended by org.apache.sshd.agent.local.ProxyAgentFactory
All Implemented Interfaces:
SshAgentFactory

public class ProxyAgentFactory
extends java.lang.Object
implements SshAgentFactory


Constructor Summary
ProxyAgentFactory()
           
 
Method Summary
 SshAgent createClient(Session session)
          Create an SshAgent that can be used on the client side by the authentication process to send possible keys.
 SshAgentServer createServer(Session session)
          Create the server side that will be used by other SSH clients.
 NamedFactory<Channel> getChannelForwardingFactory()
          Retrieve the channel factory used to create channels on the client side.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyAgentFactory

public ProxyAgentFactory()
Method Detail

getChannelForwardingFactory

public NamedFactory<Channel> getChannelForwardingFactory()
Description copied from interface: SshAgentFactory
Retrieve the channel factory used to create channels on the client side. The channels are requested by the ssh server when forwarding a client request. The channel will receive agent requests and need to forward them to the agent, either local or through another proxy.

Specified by:
getChannelForwardingFactory in interface SshAgentFactory
Returns:

createClient

public SshAgent createClient(Session session)
                      throws java.io.IOException
Description copied from interface: SshAgentFactory
Create an SshAgent that can be used on the client side by the authentication process to send possible keys.

Specified by:
createClient in interface SshAgentFactory
Returns:
Throws:
java.io.IOException

createServer

public SshAgentServer createServer(Session session)
                            throws java.io.IOException
Description copied from interface: SshAgentFactory
Create the server side that will be used by other SSH clients. It will usually create a channel that will forward the requests to the original client.

Specified by:
createServer in interface SshAgentFactory
Returns:
Throws:
java.io.IOException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.