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 . |
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
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 © 2018 JBoss by Red Hat. All rights reserved.