|
||||||||||
| 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, or
which are resolved by lookup in the EvaluableCredentialCriteriaRegistry.
| Constructor Summary | |
|---|---|
CollectionCredentialResolver()
Constructor. |
|
CollectionCredentialResolver(Collection<Credential> credentials)
Constructor. |
|
| Method Summary | |
|---|---|
Collection<Credential> |
getCollection()
Get the (modifiable) credential collection which is the backing store for the resolver. |
protected Iterable<Credential> |
resolveFromSource(CriteriaSet 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(Collection<Credential> credentials)
credentials - the credential collection which is the backing store for the resolver| Method Detail |
|---|
public Collection<Credential> getCollection()
protected Iterable<Credential> resolveFromSource(CriteriaSet criteriaSet)
throws SecurityException
resolveFromSource in class AbstractCriteriaFilteringCredentialResolvercriteriaSet - the set of 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 | |||||||||