- `file' type:
<map name="name" type="file" modify="boolean">
<filename>value</filename>
<filetype>value</filetype>
<refreshperiod>value</refreshperiod>
</map>
Parameters:
- `db' type:
<map name="name" type="db" modify="boolean">
<dbName dbname="dbname" />
<Table table="table" />
<Driver driver="driver" />
<Url url="url" />
<userName username="username" />
<passWord passwd="password" />
<refreshInterval interval="interval" />
</map>
Parameters:
- dbName: mandatory.
String value that indicates the name of the database.
- Table: mandatory.
String value that indicates the name of the table in the chosen database.
The first column of the database table is assumed to contain the subject DN,
the second column to contain the associated attribute value.
- Driver: mandatory.
String value that indicates the name of the JDBC driver to use
(Java class name).
- Url: mandatory.
String value that indicates the JDBC URL, containing connection information.
- userName: mandatory.
String value that indicates the name of the database user.
- passWord: mandatory.
String value that indicates the password of the database user.
- refreshInterval: optional.
Integer value (seconds) that indicates how often the content of the database
table is reloaded. Default value is 120.
- `table' type:
<map name="name" type="table" modify="false">
<param key="name#1" value="value#1" />
<param key="name#2" value="value#2" />
...
...
</map>
Parameters:
- key: mandatory.
String value that indicates the subject DN.
- value: mandatory.
String value that indicates the attribute associated to the subject DN.
- `cached' type:
<map name="name" type="cached" modify="boolean">
<maxSize value="value" />
<maxTime value="value" />
<map ... />
</map>
Parameters:
- maxSize: optional.
Integer value that indicates the max amount of entries to be stored in the
cache. The algorithm used to substitute entries in the cache is LRU (Last
Recently Used). Default value is 10000.
- maxTime: optional.
Integer value that indicates how many seconds an entry of the cache is
considered valid. If the entry has been stored in the cache for a period
longer than this value the underlying AttributeMap is accessed again for a
refresh. Default value is -1, meaning that entries never expire.
- map: mandatory.
The definition of an underlying AttributeMap to cache lookup results from.
- `regex' type:
<map name="name" type="regex" modify="boolean">
<map ... />
</map>
Parameters:
- map: mandatory.
The definition of an underlying AttributeMap for which the subject DNs are
interpreted as regular expressions, so that wild-card matches can be supported.
- any other type is treated as a Java class name, thus extensibility
is easily provided.