Class AbstractChainingCredentialResolver.CredentialIterable
- java.lang.Object
-
- org.opensaml.security.credential.impl.AbstractChainingCredentialResolver.CredentialIterable
-
- All Implemented Interfaces:
Iterable<Credential>
- Enclosing class:
- AbstractChainingCredentialResolver<ResolverType extends CredentialResolver>
public class AbstractChainingCredentialResolver.CredentialIterable extends Object implements Iterable<Credential>
Implementation ofIterableto be returned byChainingCredentialResolver.
-
-
Field Summary
Fields Modifier and Type Field Description private CriteriaSetcritSetThe criteria set on which to base resolution.private AbstractChainingCredentialResolver<ResolverType>parentThe chaining credential resolver which owns this instance.
-
Constructor Summary
Constructors Constructor Description CredentialIterable(AbstractChainingCredentialResolver<ResolverType> resolver, CriteriaSet criteriaSet)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<Credential>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
parent
private AbstractChainingCredentialResolver<ResolverType extends CredentialResolver> parent
The chaining credential resolver which owns this instance.
-
critSet
private CriteriaSet critSet
The criteria set on which to base resolution.
-
-
Constructor Detail
-
CredentialIterable
public CredentialIterable(@Nonnull AbstractChainingCredentialResolver<ResolverType> resolver, @Nullable CriteriaSet criteriaSet)Constructor.- Parameters:
resolver- the chaining parent of this iterablecriteriaSet- the set of criteria which is input to the underyling resolvers
-
-
Method Detail
-
iterator
@Nonnull public Iterator<Credential> iterator()
- Specified by:
iteratorin interfaceIterable<Credential>
-
-