Class JGitSshClient.CombinedKeyIdentityProvider

java.lang.Object
org.eclipse.jgit.internal.transport.sshd.JGitSshClient.CombinedKeyIdentityProvider
All Implemented Interfaces:
org.apache.sshd.common.keyprovider.KeyIdentityProvider
Enclosing class:
JGitSshClient

private static class JGitSshClient.CombinedKeyIdentityProvider extends Object implements org.apache.sshd.common.keyprovider.KeyIdentityProvider
A KeyIdentityProvider that iterates over the Iterables returned by other KeyIdentityProviders.
  • Field Details

    • providers

      private final List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers
  • Constructor Details

    • CombinedKeyIdentityProvider

      public CombinedKeyIdentityProvider(org.apache.sshd.common.keyprovider.KeyIdentityProvider... providers)
    • CombinedKeyIdentityProvider

      public CombinedKeyIdentityProvider(List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers)
  • Method Details

    • loadKeys

      public Iterable<KeyPair> loadKeys(org.apache.sshd.common.session.SessionContext context)
      Specified by:
      loadKeys in interface org.apache.sshd.common.keyprovider.KeyIdentityProvider