diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-10-20 09:51:43 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-11-03 23:45:33 +0100 |
commit | 68017a029cb6b8648b29ae695c9e614d1f7a9770 (patch) | |
tree | a870569b7b73821e113afc7acafbc80f3534b951 /org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.apache.feature/pom.xml | |
parent | c04884fc9166fe491745fa51bd7540ff36ce6e7c (diff) | |
download | jgit-68017a029cb6b8648b29ae695c9e614d1f7a9770.tar.gz jgit-68017a029cb6b8648b29ae695c9e614d1f7a9770.zip |
sshd: prepare for using an SSH agent
Add interfaces Connector and ConnectorFactory. A "connector" is just
something that knows how to connect to an ssh-agent and then can make
simple synchronous RPC-style requests (request-reply).
Add a way to customize an SshdSessionFactory with a ConnectorFactory.
Provide a default setup using the Java ServiceLoader mechanism to
discover an ConnectorFactory.
Implement an SshAgentClient in the internal part. Unfortunately we
cannot re-use the implementation in Apache MINA sshd: it's hard-wired
to Apache Tomcat APR, and it's also buggy.
No behavior changes yet since there is nothing that would provide an
actual ConnectorFactory. So for Apache MINA sshd, the SshAgentFactory
remains null as before.
Change-Id: I963a3d181357df2bdb66298bc702f2b9a6607a30
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.apache.feature/pom.xml')
0 files changed, 0 insertions, 0 deletions