|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.credential.AbstractCredentialResolver org.opensaml.xml.security.credential.ChainingCredentialResolver
public class ChainingCredentialResolver
An implementation of 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.
Nested Class Summary | |
---|---|
class |
ChainingCredentialResolver.CredentialIterable
Implementation of Iterable to be returned by ChainingCredentialResolver . |
class |
ChainingCredentialResolver.CredentialIterator
Implementation of Iterator to be returned (indirectly) by ChainingCredentialResolver . |
Field Summary | |
---|---|
private Logger |
log
Logger. |
private List<CredentialResolver> |
resolvers
List of credential resolvers in the chain. |
Constructor Summary | |
---|---|
ChainingCredentialResolver()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opensaml.xml.security.credential.AbstractCredentialResolver |
---|
resolveSingle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Logger log
private List<CredentialResolver> resolvers
Constructor Detail |
---|
public ChainingCredentialResolver()
Method Detail |
---|
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 process
SecurityException
- thrown if there is an error processing the specified criteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |