Class MultiKeyIdentityProvider
java.lang.Object
org.apache.sshd.common.keyprovider.MultiKeyIdentityProvider
- All Implemented Interfaces:
KeyIdentityProvider
Aggregates several
KeyIdentityProvider
-s into a single logical one that (lazily) exposes the keys from each
aggregated provider-
Field Summary
FieldsFields inherited from interface org.apache.sshd.common.keyprovider.KeyIdentityProvider
EMPTY_KEYS_PROVIDER
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
providers
-
-
Constructor Details
-
MultiKeyIdentityProvider
-
-
Method Details
-
loadKeys
Description copied from interface:KeyIdentityProvider
Load available keys.- Specified by:
loadKeys
in interfaceKeyIdentityProvider
- Parameters:
session
- TheSessionContext
for invoking this load command - may benull
if not invoked within a session context (e.g., offline tool or session unknown).- Returns:
- an
Iterable
instance of available keys - ignored ifnull
-