Class StaticCredentialResolver

java.lang.Object
org.opensaml.security.credential.impl.AbstractCredentialResolver
org.opensaml.security.credential.impl.StaticCredentialResolver
All Implemented Interfaces:
Resolver<Credential,CriteriaSet>, CredentialResolver
Direct Known Subclasses:
StaticKeyInfoCredentialResolver

public class StaticCredentialResolver extends AbstractCredentialResolver
Simple implementation of CredentialResolver which just stores and returns a static set of credentials.

Note: no filtering or other evaluation of the credentials is performed. Any Criterion specified are ignored. For a similar Collection-based CredentialResolver implementation which does support evaluation and filtering based on supplied evaluable criteria, see CollectionCredentialResolver.