Class FlatFileExternalAgentResolver

All Implemented Interfaces:
Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, Resolver<Agent,CriteriaSet>, AgentResolver

public class FlatFileExternalAgentResolver extends AbstractExternalAgentResolver
External agent source that relies on a flat file.

The format of this file is similar to an LDIF file due to the variability of fields supported and the need for multiple values in some of the fields. Entries are separated by empty lines and lines that begin with a '#' are comments and ignored. Each valid line consists of a field specifier followed by a colon, followed by a single field value. All values are trimmed of leading and trailing whitespace. Supported fields:

id
Agent ID
allowedRange
Allowed address range
username
An alternative agent username
issuer
Issuer value for Agent protocol messages
authority
Authenticating authority

Only the "id" field is required. Both "allowedRange" and "username" may appear any number of times.