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 entity ID 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(CriteriaSet criteriaSet)
Subclasses are required to implement this method to resolve credentials from the
implementation-specific type of underlying credential source.
|
isMeetAllCriteria, isUnevaluableSatisfies, resolve, setMeetAllCriteria, setUnevaluableSatisfies
resolveSingle
public FilesystemCredentialResolver(String credentialDirectory, 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 passwordprotected Iterable<Credential> resolveFromSource(CriteriaSet criteriaSet)
resolveFromSource
in class AbstractCriteriaFilteringCredentialResolver
criteriaSet
- the set of criteria used to resolve credentials from the credential sourceCopyright © 2018 JBoss by Red Hat. All rights reserved.