In large enterprises the need for membership lists management is significant. The number of potential applications of such lists is vast. Some example applications are authorization systems that use lists to represent “Role Assignments” or email systems that use lists for the purpose of maintaining a “Mailing List.” The costs, both administrative and performance, associated with use of membership groups are significant. There are two general methods for administration and use of membership groups—static lists and rules-based lists.
Static lists are one method for managing membership lists. A static list is a physical listing of user names. No other attributes of the user are included in a static list. Accessing static lists is inexpensive. To access the list, a simple fetch operation is used. On the other hand, modifications to the list are statically maintained, creating an enormous administration workload to maintain the lists. For example, the membership lists must be individually identified and edited each time an individual is added, deleted, or modified.
For example, if a new employee joins a human resources department in an organization, that new employee is added to several membership groups. The new employee may be added to the “all employee” e-mail list, the “human resource department” e-mail list, the “benefits software” application permission list, the “performance review software” access list, the “compensation software” application permission list, or any number of lists that the organization has created. If this new employee leaves the organization, the employee may need to be removed from all the groups to which he was added. If the employee changes departments within the organization, the employee may need to be removed from some or all of his current lists and added to new lists. The nature of these changes when static membership lists are employed is administratively burdensome.
Rules-based lists are another method for managing membership lists. Memberships of rules-based lists are built each time they are accessed by the execution of one or more rules and are sometimes referred to as dynamic lists. There is no physically stored membership, hence there is no physical list to update and therefore there is no administrative burden of maintaining such lists. For example, the rules are executed to have a new employee added to the membership list. Such a rule can be stated as “all individuals whose manager attribute value directly or indirectly references ManagerA” where ManagerA is the name of the manager of the Human Resources Department.
While rules-based lists offer a significant advantage in administration, the performance costs are a major hindrance to their widespread application. The dynamic nature of these lists mandates that the membership be computed each time the groups are accessed, in contrast, the static nature of static lists allows quick retrievals. Rules-based lists do not persistently store membership, thus, queries such as “return all the roles of User1” become computationally expensive since this requires that the membership of User1 be determined for all rules-based lists.
An additional limitation of the rules-based lists is that it is difficult to provide change notifications to other applications related to the changes in membership of the list without incurring additional computational expenses. Such is the case because the membership is not explicitly administered and hence changes in membership are unknown. Therefore, the membership must be built by executing the rules each time the list is accessed to obtain the most up to date membership.
Such limitations have resulted in restricted use of the rules-based lists. In situations where performance is critical, rules-based lists are not deployed in favor of static lists that are efficient, albeit they require significant effort in terms of administration.
A solution has been provided for a membership lists that provides the management benefits of a rules-based list with the efficient lookup of a static list. An example, method of managing a membership list includes: executing a set of membership rules to create a membership list, caching the created membership list in storage, and updating the membership list cache as and when member objects are modified. An example system for managing membership lists includes a set of rules, a cache, a cache accessing module, a rule modification module, a cache updating module, and a change notification module.
A method, system, and computer program product for change notification and persistent caching of dynamically computed membership of rules-based lists in LDAP is described. This solution provides the administration benefits of a rules-based list with the efficient lookup of a static list. To accomplish this, in one embodiment, a method of managing a membership list includes executing a set of membership rules to create the membership of a dynamically computed membership list, caching the computed membership in storage allowing efficient access to the list via the persistent cache, and modifying the membership cache when member objects are updated. The embodiments of this disclosure describes the membership node structure, access, and change management in detail.
Node Structure
Lightweight Directory Access Protocol (LDAP) is an online directory service protocol defined by the Internet Engineering Task Force (IETF). An LDAP directory entry is a collection of attributes with a unique identifier, called a distinguished name (DN). An LDAP directory organizes the entries or objects (i.e., member objects) in a hierarchical structure of nodes, sometimes referred to as a tree. Member objects include a user name and all attributes of that user. Some example user attributes can include “area code,” “department,” “Manager,” “role,” etc.
Each rules-based membership list can have one or more rules associated with it. The membership of the list is based on the rules. In some embodiments each rule has a base, scope, and a filter criterion. The base identifies highest level of criteria for that rule (i.e., which node in the LDAP tree does this rule associate with), the scope identifies a second level of criteria for that rule (i.e., how deep from the base), and the filter specifies the selection criteria for membership objects. Scope can be specified, for example, as base level, a child of base level but not including the base, or all entries below and including the base.
One embodiment organizes the membership lists in a hierarchical structure based on the base specified in the rules of all the rules-based membership lists. Each node in the hierarchical structure has one or more membership lists associated with it. In some embodiments the hierarchical structure includes a plurality of hierarchical structures of sparse trees.
As mentioned above, in some embodiments, each rule of the membership list includes a base, a scope or level, and a filter. The base of the rule determines with which node in an LDAP tree hierarchy the membership list is associated. Each node in the in the tree structure maintains a list of all the membership lists within the node (by a List ID) along with associated levels and filters in the form of a Link List. A filter specifies criteria that may be used in a query. For example, to build memberships lists of all users based on their area codes in California, a tree structure may have a node regarding “California” as a base node, membership lists including membership ID and filter information as nodes in the linked list associated with the California node in the tree, and each node in the link list specifying the specific area code as filter for that membership list (e.g. “415,” “650,” “408,” and “all users”). In this example, the filter for the “area code” node Link List includes “List ID1-area code=415, List ID2-area code=650, List ID3-area code=408, and List ID4-all users”. The base, level, and filter associated with the membership List ID in the Link List provide a mechanism to quickly identify and locate membership lists. This is discussed further in the change management section.
In some embodiments, attributes of each membership list includes a cache enabled state, and a cache state. The cache enabled state indicates if the membership list can be cached, or not. The cache state indicates the current status of the cache. In some embodiments the cache state can be valid, invalid, or being updated.
Overview
An example embodiment of process 150, an overview of caching rules-based membership lists and change management, is shown in
Caching and Access
Caching and access are interrelated as the membership list is not built and cached until the first query request for the list is received. An embodiment of process 200, which is a receiving a membership list query process, is shown in
One example of the use of this process is an enterprise implementing a new software application prompting the use of a new rules-based membership list for application access rights. When a user tries to access the application, the application sends a query requesting the membership list. If the request is the first request, the rule(s) for the list are executed, building the list. The application reads the membership list to determine if the user has the appropriate rights. The list is cached in storage if cache enabled. The next user to access the application, causes another access query. This query, and each subsequent query, can access the cached membership list instead of having to execute the membership rules to build the list. One embodiment of the accessing process is explained in more detail below.
When process action 206 of
In another embodiment, the membership cache contains static members in addition to the rules-based members. When the cache state is found to be invalid during execution of process 300, only the rules-based members are purged from the cache in process action 310, and added back in to the cache in process action 314. The static members remain in the cache throughout the process.
Change Management
Among other things, managing membership lists involves handling changes. Example changes include membership object changes such as adding a member or modifying a member attribute, this results from a change in the member object and not in the rules-based list explicitly and membership rule changes such as changing the name of ManagerA in the example rule “all individuals whose manager attribute value directly or indirectly references ManagerA.” When a membership object is changed, the cache state is set to “being updated.” When a membership rule is changed, the cache state is set to “invalid.”
In some embodiments, when a member object is modified membership lists are examined to see which lists are affected. An embodiment of process 400, which is the membership object modification process, is shown in
In process action 410, the state of the cache is set to “being updated” while the member is physically added, deleted, or modified in the membership cache, and the state is returned to “valid” upon completion of the change. If a query to access the list is received during the update, the query executes the rules to build the membership list so as not to delay the query (as shown in process action 306 of
Another example change is when a membership rule is modified. An example embodiment of process 500, which is the rule modification process, is shown in
When a rule is modified the modifications may effect the hierarchy of the tree. For example, nodes may have to be created or moved. This possibility of a tree structure change is handled in element 530, the Update Hierarchical Structure section of
System Architecture Overview
The execution of the sequences of instructions required to practice the invention may be performed in embodiments of the invention by a computer system 1400 as shown in
A computer system 1400 according to an embodiment of the invention will now be described with reference to
Each computer system 1400 may include a communication interface 1414 coupled to the bus 1406. The communication interface 1414 provides two-way communication between computer systems 1400. The communication interface 1414 of a respective computer system 1400 transmits and receives electrical, electromagnetic or optical signals, that include data streams representing various types of signal information, e.g., instructions, messages and data. A communication link 1415 links one computer system 1400 with another computer system 1400. For example, the communication link 1415 may be a LAN, in which case the communication interface 1414 may be a LAN card, or the communication link 1415 may be a PSTN, in which case the communication interface 1414 may be an integrated services digital network (ISDN) card or a modem.
A computer system 1400 may transmit and receive messages, data, and instructions, including program, i.e., application, code, through its respective communication link 1415 and communication interface 1414. Received program code may be executed by the respective processor(s) 1407 as it is received, and/or stored in the storage device 1410, or other associated non-volatile media, for later execution.
In an embodiment, the computer system 1400 operates in conjunction with a data storage system 1431, e.g., a data storage system 1431 that contains a database 1432 that is readily accessible by the computer system 1400. The computer system 1400 communicates with the data storage system 1431 through a data interface 1433. A data interface 1433, which is coupled to the bus 1406, transmits and receives electrical, electromagnetic or optical signals, that include data streams representing various types of signal information, e.g., instructions, messages and data. In embodiments of the invention, the functions of the data interface 1433 may be performed by the communication interface 1414.
Computer system 1400 includes a bus 1406 or other communication mechanism for communicating instructions, messages and data, collectively, information, and one or more processors 1407 coupled with the bus 1406 for processing information. Computer system 1400 also includes a main memory 1408, such as a random access memory (RAM) or other dynamic storage device, coupled to the bus 1406 for storing dynamic data and instructions to be executed by the processor(s) 1407. The main memory 1408 also may be used for storing temporary data, i.e., variables, or other intermediate information during execution of instructions by the processor(s) 1407.
The computer system 1400 may further include a read only memory (ROM) 1409 or other static storage device coupled to the bus 1406 for storing static data and instructions for the processor(s) 1407. A storage device 1410, such as a magnetic disk or optical disk, may also be provided and coupled to the bus 1406 for storing data and instructions for the processor(s) 1407.
A computer system 1400 may be coupled via the bus 1406 to a display device 1411, such as, but not limited to, a cathode ray tube (CRT), for displaying information to a user. An input device 1412, e.g., alphanumeric and other keys, is coupled to the bus 1406 for communicating information and command selections to the processor(s) 1407.
According to one embodiment of the invention, an individual computer system 1400 performs specific operations by their respective processor(s) 1407 executing one or more sequences of one or more instructions contained in the main memory 1408. Such instructions may be read into the main memory 1408 from another computer-usable medium, such as the ROM 1409 or the storage device 1410. Execution of the sequences of instructions contained in the main memory 1408 causes the processor(s) 1407 to perform the processes described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and/or software. The term logic is defined as any hardware, software, or combination of hardware and software.
The term “computer-usable medium,” as used herein, refers to any medium that provides information or is usable by the processor(s) 1407. Such a medium may take many forms, including, but not limited to, non-volatile, volatile and transmission media. Non-volatile media, i.e., media that can retain information in the absence of power, includes the ROM 1409, CD ROM, magnetic tape, and magnetic discs. Volatile media, i.e., media that can not retain information in the absence of power, includes the main memory 1408. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise the bus 1406. Transmission media can also take the form of carrier waves; i.e., electromagnetic waves that can be modulated, as in frequency, amplitude or phase, to transmit information signals. Additionally, transmission media can take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. For example, the reader is to understand that the specific ordering and combination of process actions shown in the process flow diagrams described herein is merely illustrative, and the invention can be performed using different or additional process actions, or a different combination or ordering of process actions. The specification and drawings are, accordingly, to be regarded in an illustrative rather than restrictive sense.
Number | Name | Date | Kind |
---|---|---|---|
5485550 | Dalton | Jan 1996 | A |
5671139 | Bessacini et al. | Sep 1997 | A |
5761499 | Sonderegger | Jun 1998 | A |
5903559 | Acharya et al. | May 1999 | A |
5905984 | Thorsen | May 1999 | A |
5944762 | Bessacini et al. | Aug 1999 | A |
5970494 | Velissaropoulos et al. | Oct 1999 | A |
6088475 | Nagashima et al. | Jul 2000 | A |
6304974 | Samar | Oct 2001 | B1 |
6308181 | Jarvis | Oct 2001 | B1 |
6377991 | Smith et al. | Apr 2002 | B1 |
6401096 | Zellweger | Jun 2002 | B1 |
6466941 | Rowe et al. | Oct 2002 | B1 |
6487547 | Ellison et al. | Nov 2002 | B1 |
6529885 | Johnson | Mar 2003 | B1 |
6542898 | Sullivan et al. | Apr 2003 | B1 |
6587856 | Srinivasan et al. | Jul 2003 | B1 |
6615223 | Shih et al. | Sep 2003 | B1 |
6675261 | Shandony | Jan 2004 | B2 |
6678835 | Shah et al. | Jan 2004 | B1 |
6691117 | Ellison et al. | Feb 2004 | B2 |
6704743 | Martin | Mar 2004 | B1 |
6744544 | Nagashima et al. | Jun 2004 | B1 |
6748374 | Madan et al. | Jun 2004 | B1 |
6785664 | Jameson | Aug 2004 | B2 |
6789088 | Lee et al. | Sep 2004 | B1 |
6795830 | Banerjee et al. | Sep 2004 | B1 |
6834286 | Srinivasan et al. | Dec 2004 | B2 |
6898577 | Johnson | May 2005 | B1 |
6941282 | Johnson | Sep 2005 | B1 |
6944626 | Cameron et al. | Sep 2005 | B2 |
6973460 | Mitra | Dec 2005 | B1 |
6988102 | Rossiter et al. | Jan 2006 | B2 |
6993180 | Sun et al. | Jan 2006 | B2 |
6993657 | Renner et al. | Jan 2006 | B1 |
7016845 | Vora et al. | Mar 2006 | B2 |
7020644 | Jameson | Mar 2006 | B2 |
7031954 | Kirsch | Apr 2006 | B1 |
7032022 | Shanumgam et al. | Apr 2006 | B1 |
7035840 | Nakos et al. | Apr 2006 | B2 |
7051039 | Murthy et al. | May 2006 | B1 |
7058639 | Chatterjee et al. | Jun 2006 | B1 |
7062563 | Lewis et al. | Jun 2006 | B1 |
7069270 | Kumar | Jun 2006 | B1 |
7080077 | Ramamurthy et al. | Jul 2006 | B2 |
7085834 | Delany et al. | Aug 2006 | B2 |
7086029 | Barras et al. | Aug 2006 | B1 |
7096213 | Chatterjee et al. | Aug 2006 | B2 |
7114037 | Agarwal et al. | Sep 2006 | B2 |
7120037 | Komatsu et al. | Oct 2006 | B2 |
7124203 | Joshi et al. | Oct 2006 | B2 |
7134137 | Joshi et al. | Nov 2006 | B2 |
7136867 | Chatterjee et al. | Nov 2006 | B1 |
7150038 | Samar | Dec 2006 | B1 |
7162480 | Vishik | Jan 2007 | B2 |
7171411 | Lewis et al. | Jan 2007 | B1 |
7174319 | Johnson | Feb 2007 | B2 |
7185364 | Knouse et al. | Feb 2007 | B2 |
7194764 | Martherus et al. | Mar 2007 | B2 |
7206851 | Delaney et al. | Apr 2007 | B2 |
7213249 | Tung Loo et al. | May 2007 | B2 |
7216163 | Sinn | May 2007 | B2 |
7225256 | Villavicencio | May 2007 | B2 |
7231661 | Villavicencio et al. | Jun 2007 | B1 |
7249369 | Knouse et al. | Jul 2007 | B2 |
7249375 | Bhatia et al. | Jul 2007 | B2 |
7289990 | Gupta | Oct 2007 | B2 |
7296297 | Kirkpatrick et al. | Nov 2007 | B2 |
7366708 | Jalali et al. | Apr 2008 | B2 |
7394817 | Yap | Jul 2008 | B2 |
7415671 | Sylor et al. | Aug 2008 | B2 |
7499939 | Jandhyala et al. | Mar 2009 | B2 |
20020138763 | Delany et al. | Sep 2002 | A1 |
20020186238 | Sylor et al. | Dec 2002 | A1 |
20030059107 | Sun et al. | Mar 2003 | A1 |
20030191739 | Chatterjee et al. | Oct 2003 | A1 |
20040076155 | Yajnik et al. | Apr 2004 | A1 |
20040111375 | Johnson | Jun 2004 | A1 |
20040153438 | Rossiter et al. | Aug 2004 | A1 |
20040172368 | Johnson | Sep 2004 | A1 |
20040210582 | Chatterjee et al. | Oct 2004 | A1 |
20040243576 | Shrivastava et al. | Dec 2004 | A1 |
20050018853 | Lain et al. | Jan 2005 | A1 |
20050044147 | Yap | Feb 2005 | A1 |
20050114478 | Popescu et al. | May 2005 | A1 |
20050165807 | Srinivasan et al. | Jul 2005 | A1 |
20050190692 | Singh et al. | Sep 2005 | A1 |
20050190755 | Singh et al. | Sep 2005 | A1 |
20050222963 | Johnson | Oct 2005 | A1 |
20050257211 | Chatterjee et al. | Nov 2005 | A1 |
20050278384 | Lin et al. | Dec 2005 | A1 |
20050289174 | Kolli et al. | Dec 2005 | A1 |
20050289342 | Needham et al. | Dec 2005 | A1 |
20060004779 | Rossiter et al. | Jan 2006 | A1 |
20060047641 | Keni | Mar 2006 | A1 |
20060059539 | Shashikumar et al. | Mar 2006 | A1 |
20060064434 | Gilbert et al. | Mar 2006 | A1 |
20060085440 | Jandhyala et al. | Apr 2006 | A1 |
20060085443 | Pae et al. | Apr 2006 | A1 |
20060122859 | Feldman et al. | Jun 2006 | A1 |
20060123024 | Sathyanarayan et al. | Jun 2006 | A1 |
20060143210 | Avery | Jun 2006 | A1 |
20060149760 | Keni et al. | Jul 2006 | A1 |
20060155777 | Shih et al. | Jul 2006 | A1 |
20060155778 | Sharma et al. | Jul 2006 | A1 |
20060173849 | Paul | Aug 2006 | A1 |
20060184423 | Krishnamoorthy | Aug 2006 | A1 |
20060195450 | Chatterjee et al. | Aug 2006 | A1 |
20060195575 | Delany et al. | Aug 2006 | A1 |
20060218147 | Shrivastava et al. | Sep 2006 | A1 |
20060284455 | Terech | Dec 2006 | A1 |
20070027986 | Joshi et al. | Feb 2007 | A1 |
20070044144 | Knouse et al. | Feb 2007 | A1 |
20070089167 | Villavicencio | Apr 2007 | A1 |
20070101440 | Bhatia et al. | May 2007 | A1 |
20070112700 | Den Haan et al. | May 2007 | A1 |
20070118878 | Sastry et al. | May 2007 | A1 |
20070129953 | Cunningham et al. | Jun 2007 | A1 |
20070130616 | Ng et al. | Jun 2007 | A1 |
20070162420 | Ou et al. | Jul 2007 | A1 |
20070168530 | Delaney et al. | Jul 2007 | A1 |
20070174905 | Martherus et al. | Jul 2007 | A1 |
20070208713 | Krishnaprasad et al. | Sep 2007 | A1 |
20070208714 | Ture et al. | Sep 2007 | A1 |
20070208734 | Koide et al. | Sep 2007 | A1 |
20070208744 | Krishnaprasad et al. | Sep 2007 | A1 |
20070208745 | Ture et al. | Sep 2007 | A1 |
20070208746 | Koide et al. | Sep 2007 | A1 |
20070208755 | Bhatkar et al. | Sep 2007 | A1 |
20070209080 | Ture et al. | Sep 2007 | A1 |
20070214129 | Ture et al. | Sep 2007 | A1 |
20070220268 | Krishnaprasad et al. | Sep 2007 | A1 |
20070226695 | Krishnaprasad et al. | Sep 2007 | A1 |
20070245349 | Sinn | Oct 2007 | A1 |
20070250486 | Liao et al. | Oct 2007 | A1 |
20070271280 | Chandasekaran | Nov 2007 | A1 |
20070283425 | Ture et al. | Dec 2007 | A1 |
20090094050 | Yoshida et al. | Apr 2009 | A1 |
20090157687 | Taylor et al. | Jun 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20060218147 A1 | Sep 2006 | US |