The LDAPRequestFormat and LDAPResponseFormat classes support externalization of input and output data, respectively, for the LDAP Access Service. These formatters utilize a MapFormat to translate data from toolkit contexts to the LDAP Access Service, and from the LDAP Access Service back into the contexts. The complete externalized forms of the LDAPRequestFormat, LDAPResponseFormat, and MapFormat are shown below. Italicized type is used to denote variable names that the user defines. Bold type is used to indicate names that must appear exactly as shown.
<map id="name" source="sourceCtx" target="targetCtx" sourcePrefix=" aPrefix" targetPrefix="aPrefix"> <!-- one or more of the following mappings--> <mapping source="source" target="target" value="value"/> <!-- or one or more of the following modification mappings--> <mod source="source" target="target" value="value" modcode="code"/> </map>
A map tag may contain mapping subtags, OR mod subtags, but not both.
For the LDAPRequestFormat, a dynamicName map will almost always be required. The filterList map is used in search requests. The modificationList map is used in modify requests. The attributeList map is used by both search and create requests.