A rewrite context is a set of rules which are applied in
sequence. The basic idea is to have an application initialize a
rewrite engine (think of Apache's mod_rewrite ...) with a set of
rewrite contexts; when string rewriting is required, one invokes
the appropriate rewrite context with the input string and obtains
the newly rewritten one if no errors occur.
Each basic server operation is associated to a rewrite context;
they are divided in two main groups: client -> server and server
-> client rewriting.
client -> server:
(default) if defined and no specific context
is available
bindDN bind
searchBase search
searchFilter search
searchFilterAttrDN search
compareDN compare
compareAttrDN compare AVA
addDN add
addAttrDN add AVA
modifyDN modify
modifyAttrDN modify AVA
modrDN modrdn
newSuperiorDN modrdn
deleteDN delete
exopPasswdDN password modify extended operation DN if proxy
server -> client:
searchResult search (only if defined; no default;
acts on DN and DN-syntax attributes
of search results)
searchAttrDN search AVA
matchedDN all ops (only if applicable)