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
Modifier and TypeMethodDescriptionIterable<? extends KeyIdentityProvider> loadKeys(SessionContext session) Load available keys.
-
Field Details
-
providers
-
-
Constructor Details
-
MultiKeyIdentityProvider
-
-
Method Details
-
getProviders
-
loadKeys
Description copied from interface:KeyIdentityProviderLoad available keys.- Specified by:
loadKeysin interfaceKeyIdentityProvider- Parameters:
session- TheSessionContextfor invoking this load command - may benullif not invoked within a session context (e.g., offline tool or session unknown).- Returns:
- an
Iterableinstance of available keys - ignored ifnull
-