public class MultiKeyIdentityProvider extends Object implements KeyIdentityProvider
KeyIdentityProvider
-s into a single logical
one that (lazily) exposes the keys from each aggregated providerModifier 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, wait
exhaustCurrentIdentities, isEmpty, iterableOf, multiProvider, multiProvider, resolveKeyIdentityProvider, wrapKeyPairs, wrapKeyPairs
protected final Iterable<? extends KeyIdentityProvider> providers
public MultiKeyIdentityProvider(Iterable<? extends KeyIdentityProvider> providers)
public Iterable<KeyPair> loadKeys(SessionContext session)
KeyIdentityProvider
loadKeys
in interface KeyIdentityProvider
session
- 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 null
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.