]> source.dussan.org Git - jgit.git/commit
ssh: add a factory for KeyPasswordProvider 22/1202322/3
authorThomas Wolf <twolf@apache.org>
Fri, 20 Sep 2024 19:59:49 +0000 (21:59 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 22 Oct 2024 11:16:51 +0000 (13:16 +0200)
commit4c7801a48c0fef26e6c513a583b1e030e09fe849
treeaf55939f80d2521dbc0898550d99e9f27d09cf16
parentfe8919d107cbfbc52b84f9b8e9fe55668dfbebb1
ssh: add a factory for KeyPasswordProvider

Introduce a global default factory to create KeyPasswordProvider.
Previously, their creation was tied to the SSH session, but for SSH
signatures, we will need to be able to create KeyPasswordProviders
without having an SSH session.

Change-Id: If4a69c4d4c4e8de390cb1ef3b65966d0e39c24ff
Signed-off-by: Thomas Wolf <twolf@apache.org>
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/transport/sshd/KeyPasswordProviderFactory.java [new file with mode: 0644]
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/transport/sshd/SshdSessionFactory.java