The Directory Server Access Control Model
Understanding the Directory Server Schema
Understanding Directory Server Plug-Ins
Understanding the Profiler Plug-In and the Profiler Tool
The directory server supports several kinds of plug-ins, including:
Can be used to alter the contents of a request before the directory server begins to process it.
Can be used to perform any processing that might be required immediately before the directory server performs the core action associated with that operation (for example, before an updated entry is stored in the back end for a modify operation).
Can be used to perform any processing that might be required immediately after the directory server performs the core action associated with that operation but before the response is sent to the client.
Can be used to perform any processing that might be required for an operation that does not need to occur before the response is sent to the client.
Can be used to perform any processing that might be required immediately before the directory server sends a search result entry to a client (including altering the contents of the entry or preventing it from being sent).
Can be used to perform any processing that might be required immediately before the directory server sends a search reference (that is, a referral) to a client (including altering the contents of the referral or preventing it from being sent).
Can be used to perform any processing that might be required immediately before the directory server sends an intermediate response to a client (including altering the contents of the intermediate response or preventing it from being sent).
Can be used to perform any processing that might be required immediately after the directory server accepts a new connection from a client (including terminating that connection).
Can be used to perform any processing that might be required immediately after a client connection is closed for some reason (regardless of whether the closure was initiated by the client or the directory server).
Can be used to perform any processing that might be required when the directory server is in the process of being started.
Can be used to perform any processing that might be required when the directory server is in the process of performing a graceful shutdown.
Can be used to perform any processing that might be required for any entries read during the LDIF import process (including altering the contents of the entry or preventing it from being imported).
Can be used to perform any processing that might be required for any entries to be written during the LDIF export process (including altering the contents of the entry or preventing it from being exported).
A plug-in can have multiple plug-in types, and multiple plug-ins with a given plug-in type can be defined in the directory server. If multiple plug-ins are defined with the same plug-in type, the order in which they are invoked during processing is undefined by default. If you require the plug-ins to be invoked in a specific order (for example, if the processing performed by one plug-in depends on the result of another), you can specify the order in which the plug-ins are invoked. For more information, see Modifying the Plug-In Configuration in Sun OpenDS Standard Edition 2.0 Administration Guide.