Directory server plug-in call ordering
AssigneeRed Hat, Inc.
InventorsPeter Rowley, Noriko Hosoi
Life of this patent
Estimating the term…
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.
Claims20
A method comprising:
- retrieving, by a computing device executing a lightweight directory access protocol (LDAP) directory server, first callback data from a first LDAP directory server plug-in;
- inserting, by the computing device, the first callback data into a callback list, the callback list determining an order of relative execution for the first LDAP directory server plug-in;
- receiving a request to perform an operation that utilizes the first LDAP directory server plug-in and a second LDAP directory server plug-in;
- making a determination that second callback data for the second LDAP directory server plug-in is ordered before the first callback data in the callback list;
- and
- executing the second LDAP directory server plug-in before executing the first LDAP directory server plug-in based on the determination.
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 from a first LDAP directory server plug-in;
- insert the first callback data into a callback list, the callback list determining an order of relative execution for the first LDAP directory server plug-in;
- receive a request to perform an operation that utilizes the first LDAP directory server plug-in and a second LDAP directory server plug-in;
- make a determination that second callback data for the second LDAP directory server plug-in is ordered before the first callback data in the callback list;
- and
- execute the second LDAP directory server plug-in before executing the first LDAP directory server plug-in based on the determination.
A non-transitory machine readable medium having instructions that, when executed by a machine, cause the machine to perform a method comprising:
- retrieving, by the machine, first callback data from a first lightweight directory access protocol (LDAP) directory server plug-in;
- inserting, by the machine, the first callback data into a callback list, the callback list determining an order of relative execution for the first LDAP directory server plug-in;
- receiving a request to perform an operation that utilizes the first LDAP directory server plug-in and a second LDAP directory server plug-in;
- making a determination that second callback data for the second LDAP directory server plug-in is ordered before the first callback data in the callback list;
- and
- executing the second LDAP directory server plug-in before executing the first LDAP directory server plug-in based on the determination.
Dependencies are inferred from the claim text.