|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.security.credential.AbstractCredentialResolver
org.opensaml.xml.security.credential.AbstractCriteriaFilteringCredentialResolver
org.opensaml.xml.security.credential.CollectionCredentialResolver
public class CollectionCredentialResolver
An implementation of CredentialResolver
which uses a Collection
as the
underlying credential source. The credentials returned are filtered based on any
EvaluableCredentialCriteria
which may have been present in the specified criteria set.
Constructor Summary | |
---|---|
CollectionCredentialResolver()
Constructor. |
|
CollectionCredentialResolver(java.util.Collection<Credential> credentials)
Constructor. |
Method Summary | |
---|---|
java.util.Collection<Credential> |
getCollection()
Get the (modifiable) credential collection which is the backing store for the resolver. |
protected java.lang.Iterable<Credential> |
resolveFromSource(CredentialCriteriaSet criteriaSet)
Subclasses are required to implement this method to resolve credentials from the implementation-specific type of underlying credential source. |
Methods inherited from class org.opensaml.xml.security.credential.AbstractCriteriaFilteringCredentialResolver |
---|
isMeetAllCriteria, isUnevaluableSatisfies, resolve, setMeetAllCriteria, setUnevaluableSatisfies |
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 |
Constructor Detail |
---|
public CollectionCredentialResolver()
ArrayList
is used as the underlying collection implementation.
public CollectionCredentialResolver(java.util.Collection<Credential> credentials)
credentials
- the credential collection which is the backing store for the resolverMethod Detail |
---|
public java.util.Collection<Credential> getCollection()
protected java.lang.Iterable<Credential> resolveFromSource(CredentialCriteriaSet criteriaSet) throws SecurityException
resolveFromSource
in class AbstractCriteriaFilteringCredentialResolver
criteriaSet
- the set of credential criteria used to resolve credentials from the credential source
SecurityException
- thrown if there is an error resolving credentials from the credential source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |