Criteria can include security authentication level, port number, client IP mask, client bind DN, bind ID, domain name, and other criteria.
QoS policies can include LDAP referral policy, request filtering, client connection affinity, and resource limits.
2) Workflows: It is defined by a naming context (base DN) and a workflow element (that define how Oracle Unified Directory should handle an incoming request).
A workflow must be registered with at least one network group, but can be attached to several network groups.
3) Workflow Elements: Workflow elements are part of a routing structure and each workflow contains at least one workflow element.
Oracle Unified Directory supports different types of workflow elements such as: Leaf workflow elements, Routing workflow elements, Virtual workflow element, EUS workflow element, EUS context workflow element, LDIF workflow element and Memory backend workflow element.
If OUD is deployed as Directory Server, the workflow element is the DB Local Backend and if OUD is being used for Proxy then the workflow elements can be chained with load balancing workflow elements or distribution workflow elements that act as a pointer, routing the request along a specific path.
Now if we see architecture of OUD and client request flow wrt its 3 components, it will look like :-
- The request handlers place the incoming LDAP requests in the work queue from where the worker thread grabs them.
- The operation is routed to a network group based on the network group criteria assigned. An operation must comply with the network group QoS policies regardless of the server profile, directory server or proxy server.
- The network group forwards the operation to a workflow, which defines the naming context. The determination of the workflow is based on the match between the request base DN and the workflow naming context.
- The workflow forwards the operation to its tree of workflow elements, which defines how to treat the request. The content of the tree of workflow elements depends on the server profile as explained above also:
- For a directory server, you can only configure the workflow element as the local backend workflow element (a storage).
- For a proxy server, you can configure the workflow element as a distribution workflow element, a load balancing workflow element, a DN renaming workflow element, or an LDAP proxy workflow element.
- After the request has gone through the assigned processing, the request is sent to the data source for fulfillment.