public class FilesystemCredentialResolver extends AbstractCriteriaFilteringCredentialResolver
CredentialResolver
that pulls credential information from the file system.
This credential resolver attempts to retrieve credential information from the file system. Specifically it will
attempt to find key, cert, and crl information from files within the given directory. The filename must start with
the entityID and be followed by one of the follow extensions:
Constructor and Description |
---|
FilesystemCredentialResolver(String credentialDirectory,
Map<String,String> passwords)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<Credential> |
resolveFromSource(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet)
Subclasses are required to implement this method to resolve credentials from the
implementation-specific type of underlying credential source.
|
isSatisfyAllPredicates, resolve, setSatisfyAllPredicates
resolveSingle
public FilesystemCredentialResolver(@Nonnull String credentialDirectory, @Nonnull Map<String,String> passwords)
credentialDirectory
- directory credential information can be found inpasswords
- passwords for encrypted private keys, key is the entity ID, value is the password@Nonnull protected Iterable<Credential> resolveFromSource(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet)
resolveFromSource
in class AbstractCriteriaFilteringCredentialResolver
criteriaSet
- the set of criteria used to resolve credentials from the credential sourceCopyright © 2019. All rights reserved.