Directory server plug-in call ordering
First Claim
Patent Images
1. A method comprising:
- retrieving, by a computing device executing a lightweight directory access protocol (LDAP) directory server, first callback data and second callback data from a first LDAP directory server plug-in;
inserting, by the computing device, the first callback data into a callback list at a first position and the second callback data into the callback list at a second position, the callback list determining an order of relative execution for a plurality of callbacks;
receiving a request to perform an operation that utilizes the first callback data and a third callback data of a second LDAP directory server plug-in;
making a determination of a relative order of the first callback data and the third callback data in the callback list;
executing a third callback associated with the third callback data before executing a first callback associated with the first callback data if the third callback data is ordered before the first callback data in the callback list; and
executing the first callback before executing the third callback if the first callback data is ordered before the third callback data in the callback list.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for ordering callbacks for server plug-ins of a Lightweight Directory Access Protocol (LDAP) directory server. Each plug-in registers with the LDAP server and has a designated priority and set of dependencies. The priority and dependency data are stored in an LDAP callback configuration entry or set of entries. The LDAP server analyzes the priority and dependencies to determine the order of each plug-in or individual callback relative to one another. This allows the LDAP directory server and LDAP operations to rely on the order of callbacks thereby improving the efficiency of the system.
-
Citations
20 Claims
-
1. A method comprising:
-
retrieving, by a computing device executing a lightweight directory access protocol (LDAP) directory server, first callback data and second callback data from a first LDAP directory server plug-in; inserting, by the computing device, the first callback data into a callback list at a first position and the second callback data into the callback list at a second position, the callback list determining an order of relative execution for a plurality of callbacks; receiving a request to perform an operation that utilizes the first callback data and a third callback data of a second LDAP directory server plug-in; making a determination of a relative order of the first callback data and the third callback data in the callback list; executing a third callback associated with the third callback data before executing a first callback associated with the first callback data if the third callback data is ordered before the first callback data in the callback list; and executing the first callback before executing the third callback if the first callback data is ordered before the third callback data in the callback list. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing device comprising:
-
a memory to store instructions for a lightweight directory access protocol (LDAP) directory server; and a processing device, coupled to the memory, to execute the instructions, wherein the processing device is configured to; retrieve first callback data and second callback data from a first LDAP directory server plug-in; insert the first callback data into a callback list at a first position and the second callback data into the callback list at a second position, the callback list determining an order of relative execution for a plurality of callbacks; receive a request to perform an operation that utilizes the first callback data and third callback data of a second LDAP directory server plug-in; make a determination of a relative order of the first callback data and the third callback data in the callback list; execute a third callback associated with the third callback data before executing a first callback associated with the first callback data if the third callback data is ordered before the first callback data in the callback list; and execute the first callback before executing the third callback if the first callback data is ordered before the third callback data in the callback list. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A non-transitory machine readable medium having instructions that, when executed by a computing device, cause the computing device to perform a method comprising:
-
retrieving, by the computing device executing a lightweight directory access protocol (LDAP) directory server, first callback data and second callback data from a first LDAP directory server plug-in; inserting, by the computing device, the first callback data into a callback list at a first position and the second callback data into the callback list at a second position, the callback list determining an order of relative execution for a plurality of callbacks; receiving a request to perform an operation that utilizes the first callback data and third callback data of a second LDAP directory server plug-in; making a determination of a relative order of the first callback data and the third callback data in the callback list; executing a third callback associated with the third callback data before executing a first callback associated with the first callback data if the third callback data is ordered before the first callback data in the callback list; and executing the first callback before executing the third callback if the first callback data is ordered before the third callback data in the callback list. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification