public class MultiKeyIdentityProvider extends Object implements KeyIdentityProvider
KeyIdentityProvider-s into a single logical one that (lazily) exposes the keys from each
aggregated provider| Modifier and Type | Field and Description |
|---|---|
protected Iterable<? extends KeyIdentityProvider> |
providers |
EMPTY_KEYS_PROVIDER| Constructor and Description |
|---|
MultiKeyIdentityProvider(Iterable<? extends KeyIdentityProvider> providers) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<KeyPair> |
loadKeys(SessionContext session)
Load available keys.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexhaustCurrentIdentities, isEmpty, iterableOf, multiProvider, multiProvider, resolveKeyIdentityProvider, wrapKeyPairs, wrapKeyPairsprotected final Iterable<? extends KeyIdentityProvider> providers
public MultiKeyIdentityProvider(Iterable<? extends KeyIdentityProvider> providers)
public Iterable<KeyPair> loadKeys(SessionContext session)
KeyIdentityProviderloadKeys in interface KeyIdentityProvidersession - The SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).Iterable instance of available keys - ignored if nullCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.