Class JGitSshClient.CombinedKeyIdentityProvider

  • All Implemented Interfaces:
    org.apache.sshd.common.keyprovider.KeyIdentityProvider
    Enclosing class:
    JGitSshClient

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

      Fields 
      Modifier and Type Field Description
      private java.util.List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers  
      • Fields inherited from interface org.apache.sshd.common.keyprovider.KeyIdentityProvider

        EMPTY_KEYS_PROVIDER
    • Constructor Summary

      Constructors 
      Constructor Description
      CombinedKeyIdentityProvider​(java.util.List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers)  
      CombinedKeyIdentityProvider​(org.apache.sshd.common.keyprovider.KeyIdentityProvider... providers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<java.security.KeyPair> loadKeys​(org.apache.sshd.common.session.SessionContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • providers

        private final java.util.List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers
    • Constructor Detail

      • CombinedKeyIdentityProvider

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

        public CombinedKeyIdentityProvider​(java.util.List<org.apache.sshd.common.keyprovider.KeyIdentityProvider> providers)
    • Method Detail

      • loadKeys

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