public class ChainingCredentialResolver extends AbstractCredentialResolver
CredentialResolver
which chains together one or more underlying credential resolver
implementations. Resolved credentials are returned from all underlying resolvers in the chain, in the order implied
by the order of the resolvers in the chain.Modifier and Type | Class and Description |
---|---|
class |
ChainingCredentialResolver.CredentialIterable
Implementation of
Iterable to be returned by ChainingCredentialResolver . |
class |
ChainingCredentialResolver.CredentialIterator
Implementation of
Iterator to be returned (indirectly) by ChainingCredentialResolver . |
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Logger.
|
private List<CredentialResolver> |
resolvers
List of credential resolvers in the chain.
|
Constructor and Description |
---|
ChainingCredentialResolver()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<CredentialResolver> |
getResolverChain()
Get the (modifiable) list of credential resolvers which comprise the resolver chain.
|
Iterable<Credential> |
resolve(CriteriaSet criteriaSet)
Process the specified criteria and return the resulting instances the the product type
which satisfy the criteria.
|
resolveSingle
private final org.slf4j.Logger log
private List<CredentialResolver> resolvers
public List<CredentialResolver> getResolverChain()
public Iterable<Credential> resolve(CriteriaSet criteriaSet) throws SecurityException
resolve
in interface Resolver<Credential,CriteriaSet>
resolve
in class AbstractCredentialResolver
criteriaSet
- the criteria to evaluate or processSecurityException
- thrown if there is an error processing the specified criteriaCopyright © 1999–2017. All rights reserved.