Managing access control information
Techniques are described for automating the generation of access control information that identifies users that are permitted to access particular business objects used by a computer application. The generation of access control information is based on a characteristic that is shared by the user and the business object to be accessed. The characteristic may be an attribute. The characteristic also may be the identification of a process to determine a characteristic of a user and/or a characteristic of a business object.
Latest SAP AG Patents:
- Systems and methods for augmenting physical media from multiple locations
- Compressed representation of a transaction token
- Accessing information content in a database platform using metadata
- Slave side transaction ID buffering for efficient distributed transaction management
- Graph traversal operator and extensible framework inside a column store
This description relates to managing information used to control access to data in a computer system.
BACKGROUNDComputer systems often are used to manage and process business data. To do so, a business enterprise may use various application programs running on one or more computer systems. Application programs may be used to process business transactions, such as taking and fulfilling customer orders, providing supply chain and inventory management, performing human resource management functions, and performing financial management functions. Application programs also may be used for analyzing data, including analyzing data obtained through transaction processing systems. A business enterprise often may have a large volume of data and a large number of users who access data to process business transactions or to analyze data.
It may not be desirable for all users of a computer system to have access to all data in a computer system. This may be particularly true when a computer system has a large number of users, a large volume of data, or both a large number of users and a large volume of data. This also may be particularly true when a computer system is accessible to users or other computer systems over a private or public network.
One approach to preventing access to some portions of data by some users while permitting access to the portions of data by other users is to assign to particular users access privileges to particular portions of data. An access control list may be used to identify the particular users that are permitted access to particular portions of data. Creating and updating an access control list so that the access control list accurately provides access to the appropriate portions of data to the appropriate users may be a burdensome and time-consuming process. One approach to reducing the burden of managing access control information is to use an access control list that provides users access to particular portions of data based on a user attribute that is shared by many users (rather basing access on a user identifier that is unique to each user).
SUMMARYGenerally, the invention automatically generates and stores access control information that identifies users that are permitted to access particular business objects used by a computer application. The generation of access control information is based on a characteristic that is shared by the user and the business object to be accessed. The characteristic may be, for example, an attribute or a method to determine a characteristic of a user and/or a characteristic of a business object. In another aspect, the invention identifies a data structure for storing access control information.
In one general aspect, access control information is generated when an access control rule that identifies a characteristic is received. At least one entry in user information that is associated with the identified characteristic is identified, as is at least one entry in data object information that is associated with the identified characteristic. Access control information is generated that permits at least one user associated with the at least one entry in the user information to access the at least one entry in the data object information.
Implementations may include one or more of the following features. For example, the identified characteristic may be indirectly or directly associated with the at least one entry in the user information. When the identified characteristic is indirectly associated, identifying at least one entry in user information involves identifying at least one entry in user information that is indirectly associated with the identified characteristic. When the identified characteristic is directly associated, identifying at least one entry in user information involves identifying at least one entry in user information that is directly associated with the identified characteristic.
Generating access control information may include generating user access control information that identifies the at least one entry in the user information that is associated with the identified characteristic and generating object access control information that identifies the at least one entry in the data object information that is associated with the identified characteristic. At least one entry in the user access control information may be associated with at least one entry in the data object access control information.
The association of the at least one entry in the user access control information with the at least one entry in the data object access control information may be stored. The data object access control information may be stored, as may the user access control information.
A determination made be made as to whether a particular user associated with the at least one entry in the user access control information is permitted access to a particular data object that is associated with the at least one entry in the data object access control information. The determination may be based on the association of the at least one entry in the user access control information with the at least one entry in the data object access control information.
A filter condition may be received. If so, generating access control information may involve eliminating at least one entry in the user information or at least one entry in the data object information that corresponds to the received filter condition. In either case, the generated access control information does not include the eliminated entry.
In another general aspect, managing access control information for software operating on the computer system includes using a data repository and operating an executable software module. The data repository includes user information, data object information and access control rule information. The user information identifies a user characteristic for at least one entry in the user information. The data object information identifies a data object characteristic for at least one entry in the data object information. The access control rule information identifies a shared characteristic for at least one entry in the access control rule information. The executable software module that causes a comparison of the user characteristic, the business object characteristic, and the shared characteristic. The executable software module also causes the generation of access control information for use in determining whether a user that is associated with an entry in the user information is permitted to access a data object that is associated with an entry in the data object information. The user is permitted to access the data object when the user characteristic, the data object characteristic and the shared characteristic each correspond to one another.
Implementations may include one or more of the following features. For example, a second executable software module may cause a determination whether a user associated with an entry in the user information is permitted to access a data object associated with an entry in the data object information. The determination may be based on the generated access control information. The second executable software module may be the same executable software module as the first executable software module.
The user characteristic may correspond to the shared characteristic and the data object characteristic may correspond to the shared characteristic. If so, access control information may be generated that indicates that the user is permitted to access a data object.
An association between at least one entry in the user information and at least one entry in the access control information may be generated when the user characteristic corresponds to the shared characteristic. An association between at least one entry in the data object information and at least one entry in the access control information may be generated when the data object characteristic corresponds to the shared characteristic. A determination as to whether the user is permitted access to the data object may be based on the association of the user information to the shared characteristic and the association between the data object information and the shared characteristic.
The data repository also may include user group information that associates a user group with at least one entry in the user information, and access control rule information that identifies action that a user who is associated with group of users is permitted to perform on a data object. If so, a determination may be, based on an association of the at least one entry in the user information with the user group, as to whether the user associated with the at least one entry in the user information is permitted to perform a particular action on a particular data object.
Implementations of the techniques discussed above may include a method or process, a system or apparatus, or computer software on a computer-accessible medium. The details of one or more implementations of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
The system 100 includes the computer system 110, a client computer 115 used by a system administrator 117 to administer the business application, and a client computer 120 used by a user 122 to access the business application. The computer system 110, the client computer 115 and the client computer 120 all are capable of executing instructions on data. As is conventional, the computer system 110 includes a server 130 and a data storage device 135 that is associated with the server 130. The data storage device 135 includes data 140 and executable instructions 145. A particular portion of data, here referred to as business objects 150, is stored in the computer system 110. The business objects 150 includes multiple business objects. Each business object in business objects 150 is a collection of data attribute values, and typically is associated with a principal entity represented in a computing device or a computing system. Examples of a business object include information about a customer, an employee, a product, a business partner, a product, a sales invoice, and a sales order. A business object may be stored, for example, as a row in a relational database table, an object in an object-oriented database, data in an extensible mark-up language (XML) file, or a record in a data file. Attributes 152 are associated directly or indirectly with each of the business objects 150. In one example, a customer business object may be associated with a series of attributes including a customer number uniquely identifying the customer, a first name, a last name, an electronic mail address, a mailing address, and a telephone number. In another example, a sales order business object may include a customer number of the purchaser, the date on which the sales order was placed, and a list of products, services, or both products and services purchased.
The computer system 110 also stores another particular portion of data, here referred to as user information 155. Like the business data 150, the user information 155 includes multiple user objects. Attributes 157 are associated with a portion of the user information 155. Each portion of user information is a collection of data attribute values associated with a particular user of the business application. Typically, a portion of user information is directly or indirectly associated with some attributes of attributes 152. One type of attribute is a user identifier that uniquely identifies a particular user. Another type of attribute associated with the user, for example, may be an organizational unit to which the user is assigned, the sales territory for which the user is responsible, or the name of the user. The user information may be stored as rows in a relational database table, objects in an object-oriented database, data in an extensible mark-up language (XML) file, or records in a data file.
The computer system 110 also stores access control rules 160 for generating access control information 165. The computer system 110 includes a process 170 for generating access control information 165 and a process 175 to check, using the access control information 165, whether a particular user is permitted access to a particular business object. The generate access control information process 170 includes executable instructions for automatically generating, based on a characteristic that is shared by a user and a business object, access control information 165 using access control rules 160, as described more fully below. The check user access process 175 includes executable instructions for determining, based on the generated access control information 165, whether a particular user is permitted access to a particular business object, as described more fully below.
The computer system 110 and the client computers 115 and 120 may be arranged to operate within or in concert with one or more other systems, such as, for example, one or more LANs (“Local Area Networks”) and/or one or more WANs (“Wide Area Networks”). Each of the client computers 115 or 120 may be a general-purpose computer that is capable of operating as a client of the application program (e.g., a desktop personal computer, a workstation, or a laptop computer running an application program), or a more special-purpose computer (e.g., a device specifically programmed to operate as a client of a particular application program). The client computer 115 uses a wired or wireless communication pathway 180 to communicate with the computer system 110, and the client computer 120 uses a wired or wireless communication pathway 182 to communicate with the computer system 110. For brevity,
In general, the system administrator defines access control rules 160 to identify a characteristic shared by a user and a business object on which access to the business object is to be determined. The computer system 110 automatically generates, based on a shared characteristic, access control information that identifies the particular users that are permitted access to a particular business object. This may be accomplished, for example, through the use of a task scheduler (not shown) that initiates the automated access control generation process 170 at a particular day and time. In general, the generate access control information process 170 uses the access control rules 160, attributes 152 of business objects 150, and attributes 157 of user information 155 to generate access control information 165 that identifies the particular users that are permitted to access particular business objects. The generate access control information process 170 may be scheduled as a recurring event based on the occurrence of a predetermined time or date (such as each night or every Saturday at one o'clock a.m.). Examples of automated generate access control information processes are described more fully in
The ability to automatically generate access control information for a business application may be useful. This may be particularly true in a business enterprise that has a large number of users (perhaps, thousands, or tens of thousands, of users) and/or a large number of business objects (perhaps, even millions of business objects) to which each user needs to be granted permission in order to access. The burden of assigning each user identifier to each business object that the user is permitted to access may be so large in some cases as to prohibit the ability of a business enterprise to adequately restrict user access to data.
The data structure 200 also includes a business object information 220 that may be, for example, an implementation of business information 150 in
The data structure 200 also includes access control rule information 230 that may be, for example, an implementation of access control rules 160 in
The characteristic 233 identifies the characteristic that the user and the business object each must have for the user to be permitted to access the business object. In one example, the characteristic 233 may be a particular organizational unit. When the user characteristic 212 of a particular user and the business object characteristic 223 both correspond to the characteristic 233 of the access control rule information 230, the user is permitted to access the particular business object. The characteristic 233 may be an attribute, an attribute and a corresponding attribute value, or a method of determining whether the user and the business object both have a characteristic. When an attribute only is identified in characteristic 233, the value of the attribute associated with the user must correspond to the value of the attribute associated with business object. The ability to identify a characteristic as an attribute (rather than an attribute and a particular value that the attribute must have) may help reduce the amount of user manipulation required to define access control rules. For example, a system administrator only identifies a particular attribute (such as an organizational unit or a sales territory) rather than identifying separate rules for each value for the attribute. Thus, a system administrator may identify a single rule having an attribute for organizational unit (or sales territory attribute) rather than defining many rules, each of which identifies a particular value of the organization unit (or sales territory).
The optional list of permitted actions 234 identifies the action or actions that a user may perform on the business object. Permitted actions may be one or more of a type of database operation (such as read, write, or delete) or may be another type of action, such as access permitted to copy the business object.
The user group identifier 235 optionally identifies the user group to which a user must belong to receive access to the business object. The optional user group identifier 235 may be used to provide a filter condition that reduces the amount of user information 210 processed to generate access control information. This may be accomplished, for example, when access control information is only generated for a subset of the user information that belong to the user group identified by the user group identifier 235. This capability may be particularly useful in an computer system that includes a large number of users.
The data structure 200 also includes access control information 240 that may be, for example, an implementation of access control information 165 in
The access control information 240 also optionally includes an access control rule identifier 245 that identifies the access control rule used to generate the particular record in the access control information 240. By storing the access control rule identifier 245 in the access control information 240, the capability is provided to identify the particular access control rule used to generate the record of access control information. The capability (which may be referred to as traceability) may enable the selective creation or update of access control information when an access control rule is modified or deleted. This may be particularly useful when a computer system includes a large number of users, a large volume of data, or both a large number of users and a large volume of data.
When the access control rule information 230 includes an indication of permitted actions 234, an access rule identifier 245 for a particular access control information record may be able to identify permitted action from the access control rule information 230 even when the list of permitted actions 244 are not included in the access control information 240. This may be accomplished by identifying the indication of permitted action 234 in the access control rule based on the access control rule identifier 245 in the access control information 240.
In some implementations, the indication of permitted actions 234 in the access control rule information 230 and the indication of permitted actions 244 in the access control information 240 may correspond even when the permitted actions are represented in a different manner. For example, the access control rule information 230 may include an indication of permitted action 234 that are more easily understood by a system administrator (who is responsible for creating and updating the access control rules) than the indication of permitted actions 244 in access control information 240 that may be represented as permitted data operations. The indication of permitted action 234 in access control rule information 230 may include options of view, modify and archive that is easily understood by a system administrator defining an access rule, whereas the indication of permitted action 244 in the access control information 240 may include options of read, write and delete that correspond to database operations. In such a case, for example, the view option may correspond to the read operation; the modify option may correspond to the read operation and write operation; and the archive option may correspond to the read operation, write operation, and delete operation.
The automated process 300 may begin at a predetermined time and date (typically a recurring predetermined time and date), may begin when a predetermined condition is met (such as the definition of a new access control rule), or may be manually initiated by a system administrator or another type of user. The processor receives an access control rule (step 310). In one example, the processor receives from a calling software module or other type of executable software a particular access control record (such as a record from the access control rule information 230 in
The processor identifies, based on the characteristic identified in the received access control rule, users that have the identified characteristic (step 320). This may be accomplished, for example, by determining records in the user information 210 that include a user characteristic 212 that corresponds to the characteristic 233 in the access control rule information 230.
The processor identifies, based on the characteristic identified in the received access control rule, business objects that have the identified characteristic (step 330). This may be accomplished, for example, by determining records in the business object information 220 that include a business object characteristic 223 that corresponds to the characteristic 233 in the access control rule information 230.
The processor then generates access control information to allow each user having the identified characteristic (and identified in step 320) to access each business object having the identified characteristic (and identified in step 330). Each combination of a user and a business object that is generated may be referred to as a user-business-object pair—that is, a user identifier and a business object identifier for a particular access control information record. The generation of the access control information may be accomplished, for example, by the processor generating a record of access control information 240 for each user-business-object pair. The processor may generate an unique access control identifier 241, associate the user identifier 242 that corresponds to the user identifier 211 of the user information for the user of the user-business-object pair, and associate the business object identifier 243 that corresponds to the business object identifier 221 for the business object of the user-business-object pair. When access control rule information includes an indication of permitted action 234, the indication of permitted action 244 may be associated with the access control information record. Some implementations may associate the access control rule identifier 231 of the access control rule received in step 310 with the generated access control information.
The processor optionally stores the generated access control information in persistent storage (step 350). For example, the generated access control information 240 may be stored with the access control information on a data storage device, such as the access control information 165 stored on the data storage device 135 associated with the computer system 110 in
The process 400 may be initiated by another software module or other type of executable software when a user seeks to access a particular business object. The processor receives a user identifier and a business object identifier (step 410). This may be accomplished, for example, when the computer program that initiates the check access control process 400 provides a user identifier and a business object identifier to the processor when the check user access process 400 is initiated. Optionally, the processor receives an action to be performed by the user on the business object (step 415). In some cases, a received action may include multiple actions. In one example, the received action may include both a read operation and a write operation or may include a read operation, a write operation and a delete operation.
The processor then searches access control information to identify a record that includes both the user identifier and the business object identifier (step 420). An access control information record that includes the user identifier and the business object identifier indicates that the user is permitted to access the business object identified by the business object identifier.
When the processor does not find access control information that permits the user to access the business object (step 425), the processor does not permits access to the business object (step 430). This may be accomplished, for example, by the processor returning to the initiating software module or other type of executable software an indication that the user is not permitted access to the business object. The processor then ends the process 400.
When the processor finds access control information that permits the user to access the business object (step 425), the processor permits access to the business object (step 435). This may be accomplished, for example, by the processor returning to the initiating software module or other type of executable software an indication that the user is permitted access to the business object.
Some implementations also may determine whether a requested action is permitted on the business object. In such a case, the processor determines whether the received action is permitted (step 440). To do so, for example, the processor may determine whether the received permitted action corresponds to a permitted action included in the indication of permitted action 244 in the access control information 240. This may involve, for example, accessing a table that translates a value of a received permitted action to the corresponding value or values of permitted actions in the access control information, as described in
The access control rule information 530 includes two rules 530A and 530B for permitting access to a customer business object, as shown by the business object type 532 having a value of “CUSTOMER” for each of rules 530A and 530B. According to rule 530A, users who (1) are associated with the user group identifier 510B that correspond to the user group identifier 535 of rule 530A (that is, “USER GROUP B”) and (2) share the characteristic 534 of “SALES AREA” with a customer business object may access the customer business object to perform the actions that are included in permitted action 533 (here, “FULL”). Therefore, according to rule 530A, user 515C may access the customer business object 525A to perform any of the actions permitted by “FULL” access. This is because user 515C (1) is associated with of the user group 510B (that is, “USER GROUP B”) and (2) shares the characteristic “SALES AREA” with the customer business object 525A—that is, the user 515C and the customer business object 525A both are associated with the same sales area (here, sales area 520B). The users 515A and 515B are not permitted full access to the customer business object 515A.
According to rule 530B, users who (1) are associated with the user group identifier 510A that correspond to the user group identifier 535 of rule 530B (that is, “USER GROUP A”) and (2) share the characteristic 534 “SALES AREA” with a customer business object may access the customer business object to perform the actions that are include in permitted action 533 for the rule 530B (here, “READ ONLY”). Therefore, according to rule 530B, user 515B may access the customer business object 525A to perform “READ ONLY” action. This is because user 515B (1) is associated with the user group 510A (that is, “USER GROUP A”) and (2) shares the characteristic “SALES AREA” with the customer business object 525A—that is, the user 515B and the customer business object 525A both are associated with the same sales area (here, sales area 520B). The user 515A is not permitted full access to the customer business object 515A. According to rule 530B, user 515C is not permitted “READ ONLY” access to the customer business object 525A; however, user 515C is permitted, based on rule 530A, “FULL” access (which includes read access) to the customer business object 515A, as described above.
The process 600 is initiated by a system administrator or another type of user who seeks to modify a particular access control rule. The user uses a computer system, such as client computer system 115 in
The processor displays the access control rule on a display device that is associated with the computer that the user is using (step 620). The user then may use an input device to enter a modification to the access control rule. The processor receives the access control rule modification (step 630).
The processor generates access control information for the modified access control rule (step 640). This may be accomplished, for example, in a manner similar to the process 300 for generating access control information. The process optionally stores the generated access control information in persistent storage (step 650).
In one example of process 600, a user modifies access control rule 530B in
The processor then modifies the access control information to reflect the modified access control rule (step 640). When the access control information includes an access control rule identifier 245, the processor is able to identify each access control information record that includes an access control rule identifier 245 that corresponds to the access control rule being modified. The processor updates each corresponding access control information record to include the modified permitted action 244 of “CHANGE.”
In contrast, when the access control information does not include an access control rule identifier 245, the processor identifies each user and each business object that shares the characteristic of the modified access control rule. This may be accomplished in a manner similar to identifying each user-business-object pair as described previously in step 340 in
Other types of modification of an access control rule also may be performed. For example, a characteristic that must be shared by a user and a business object may be modified. In such a case, for example, the processor deletes the access control records that correspond to the unmodified access control rule and generates access control information records that correspond to the modified characteristic in the access control record.
The user context data structure 740 includes an access control group identifier 741 that uniquely identifies the group of access control information to which the user context data structure 740 relates. The user context data structure 740 also includes a user identifier 742 that identifies the user that is permitted to access the business object identified by the access control list 760, as described more fully below. The user context data structure 740 may be an example of a user access data structure. The access control group data structure 750 includes an access control group identifier 751 to identify the access control group to which the access control group data structure 750 relates, a characteristic 753 that identifies the characteristic that is shared by a user and a business object to which the user is permitted access. As described previously, the characteristic may be a characteristic attribute, a characteristic attribute and a characteristic value for the identified attributed, or a method for determining whether a user and a business object share a characteristic. In some implementations, the characteristic 752 may be a type of characteristic. In some implementations, particularly when the characteristic 753 is a type of characteristic or an attribute, the characteristic 753 may be referred to as an actor. The actor may include, for example, the identifier for an organizational unit, a sales territory that encompasses a defined geographic area, or a zip code. The access control group data structure 750 also includes an access control rule identifier 755 that identifies the access control rule for which the access control group relates.
The access control list 760 includes an access control group identifier 761 to identify the access control group to which the access control list data structure 760 relates, a business object identifier 763 that identifies the business object to which access is permitted. The access control list 760 also includes an indication of permitted action 765. The access control list 760 may be an example of a data object access data structure.
In general, the data structures 740, 750 and 760 may be used to determine whether a particular user is permitted to access a particular business object. When the access control group identifier 741 of a record in the user context data structure 740 corresponds to the access control group identifier 761 of a record in the access control list data structure 760, the user identified in the user context data structure 740 is permitted access to the business object identified in the access control list data structure 760. Examples of ways in which the data structures 740, 750 and 760 may be used to manage access control information are illustrated in
In some implementations, a user context data structure 740 also may include an indication of permitted actions (not shown). The indication of permitted actions may be used to control the types of actions that are permitted by a user in lieu of the permitted action 765 associated with the access control list 760. In such a case, a user may be permitted to perform any of the indicated actions associated with the user context data structure 740 for any business object to which the user has access. This may be referred to as an access control override setting. The use of such an override setting may be particularly useful to users who are system administrators who are permitted particular actions for all business objects in a particular business application.
The rule data structure 840 includes a rule identifier 841 that uniquely identifies a particular rule record in the rule data structure 840. The rule data structure 840 also includes a user group identifier 843, a characteristic method identifier 845, an indication of permitted action 846, an object type 859, optional business object filter criteria 848, and optional user filter criteria 849. The user group identifier 843 identifies a user group to which a user must be associated with to obtain the permitted action 846 access to a business object that shares a characteristic with the user. The object type 847 indicates the type of business object for which access control information is to be generated. In the rule data structure 840, the user group identifier 843 and the object type 847 provide additional filters to reduce the amount of data that is processed when access control information is generated or modified. The indication of permitted action 857 identifies the permitted action or actions that may be performed on the particular business object to which a user is permitted access. The indication of permitted action 846 indicates a right or rights, such as particular types of data operations (including read, write and delete) or other types of rights, as previously described with respect to
The optional business object filter criteria 848 identifies filter criteria or a filter criterion to limit the business objects to which the access control rule applies. The user of such a filter may reduce the number of business objects to be processed when generating access control information, which, in turn, help improve the efficiency of generating access control information. Some implementations may allow a user to identify the business object filter criteria 848 when the rule is created or modified. In such a case, the business object filter criteria 848 can be applied programmatically each time access control information is generated for the rule. This may be referred to as the programmatic identification of business object filter criteria 848. Alternatively, in some implementations, when initiating the generation of access control information for a rule, a user may indicate an optional business object filter criteria 848 to be used. This may be referred to as the interactive identification of business object filter criteria 850. In some implementations, a user may be able to identify the business object filter criteria 850 either programmatically or interactively.
Similarly, the optional user filter criteria 849 identifies filter criteria or a filter criterion to limit the user information records to which the access control rule applies. A user may be able to identify the user filter criteria 849 programmatically, interactively, or both programmatically and interactively.
The characteristic method data structure 850 includes a rule identifier 851, a characteristic type 853, a method 855 for determining a user characteristic, a method 857 for determining a business object characteristic, an optional business object filter criteria 857, and an optional user filter criteria 858. The characteristic method identifier 851 uniquely identifies a characteristic method entry in the characteristic method data structure 850. The characteristic method identifier 850 may be used with the characteristic method identifier 845 of the rule data structure 850 to associate a particular characteristic method with a particular rule, as illustrated by link 852.
The characteristic type 853 indicates the type of characteristic that is shared by a user and a business object that a user is permitted access. In some implementations, the characteristic type 846 may be used to provide context to the system administrator or other type of user that is creating and maintaining access control rules. For example, a user may be able to easy identify the rules that apply to a particular type of characteristic.
The method 855 for determining a user characteristic identifies a script, module, method, computer program or another type of executable instructions that indicate how to determine user characteristic that is necessary to access a business object having the same characteristic. Similarly, the method 856 for determining a business object characteristic identifies a script, module, method, computer program or another type of executable instructions that indicate how to determine a business object characteristic on which access is to be permitted. The use of a method enables the definition of more complex relationships between users and characteristics (and business objects and characteristics) than otherwise may be possible through the use of a characteristic alone, as described previously in
In some implementations, the rule data structure 850 and the characteristic method data structure 850 may be included in a single access control rule data structure. Moreover, some implementations may persistently store the rule data structure and the characteristic method data structure as separate data structures but create a single rule-characteristic-method data structure for use in generating access control information. The rule data structure 840, the characteristic method data structure 850, or both the rule data structure 850 and the characteristic method data structure 850 may be referred to as an access control rule data structure.
The process 900 is performed, for example, when a new business object is added to the business application to which the access control information applies. The process 900 may be initiated by a user when a new business object is added or may be initiated programmatically based on a predetermined schedule (such as nightly or weekly).
The process begins when a business object identifier is received (step 910). The processor determines the object type that is associated with the business object identifier (step 915). The object type of the received business object identifier, for example, may be determined by accessing the business object information that corresponds to the received business object identifier (as illustrated in
The processor identifies an access control rule or multiple access control rules for the object type associated with the business object identifier (step 920). This may be accomplished, for example, by accessing access rule information 840 and identifying access rules that have an object type identifier 847 that corresponds to the object type of the business object for which access control information is to be generated. When more than one access control rule is identified, the processor selects one of the identified access control rules (step 925).
The processor determines a method to determine the business object characteristic to be used for the identified access control rule (step 930). For example, the processor may identify the method 856 to determine the business object characteristic for the characteristic method entry in the characteristic method data structure 950 that corresponds to the characteristic method identifier 845 in the access control rule 840 being processed.
The processor then determines the business object characteristic for the access control rule (step 932). This may be accomplished, for example, by the processor executing the method 856 to determine the business object characteristic previously identified.
The processor then determines whether an access control group in access control information 750 corresponds to the identified access control rule and the identified business object characteristic (step 935). This may be accomplished, for example, by determining whether the rule identifier 841 of the access control rule 840 and the business object characteristic identified by the method 856 correspond to an access control rule identifier 755 and the characteristic 753, respectively, in a record of the access control group information 750. A record in the access control group information 750 may be referred to as an access control group.
When the access control group does not exist in the access control group information 750 (step 935), the processor generates a unique access control group identifier. For example, the processor may generate an identifier using a proprietary key numbering system in which identifiers are created by sequentially allocating numbers within an predetermined number range. In another example, the processor may generate an identifier that uses a GUID (“globally unique identifier”) key that is produced from a well-known algorithm. The processor also generates other access control group information including a characteristic 753 that corresponds to the business object characteristic identified by the method 856 and an access control rule identifier 755 that corresponds to the access control rule identifier 841 of the selected access control rule (step 945). The processor then stores the access control group (step 947). By contrast, when an existing access control group corresponds to the business object characteristic and the access control rule (step 935), the processor identifies the access control group identifier 751 for the record in the access control group information 750.
Whether access control group information has been accessed (step 950) or generated (step 945), the processor next generates access control list information for the business object (step 960). This may be accomplished, for example, when the processor generates a record for the access control list 760 by using the access control group identifier 761 that has been previously identified (in step 950) or generated (in step 945). The generated access control list record also includes a business object identifier 763 that corresponds to the received business object identifier and an indicator of permitted action 765 that corresponds to the indicator of permitted action 846 of the rule data structure 840 that corresponds to the selected access control rule 840. Optionally, the generated access control list information may be stored in persistent storage (step 970).
The processor determines whether there are more access control rules for the business object (step 980), and, if so, selects another access control rule to process (step 925) and continues as described above. When the processor determines that there are not more access control rules for the business object (step 980), the process 900 ends.
The process 1000 may be performed, for example, when a user is given access to the business application to which the access control information applies. In some implementations, the process 1000 is performed each time that a user logs into or otherwise initiates the business application. The process 1000 also may be performed, for example, the first time during a day, or the first time during particular day, that a user logs into the business application. Alternatively, the process 1000 may be performed on a periodic basis, such as each night or each week. Additionally or alternatively, the process 1000 may be initiated by a system administrator or another type of user when the user determines that the process 1000 should be performed.
The process begins when a user identifier is received (step 1010). The processor determines a user group that is associated with the user identifier (step 1015). For example, the processor accesses user information, such as user information 200 in
The processor identifies an access control rule or multiple access control rules for the user group associated with the user identifier (step 1020). This may be accomplished, for example, by identifying an access rule information 840 rule that has a user group identifier 843 that corresponds to the user group associated with the user identifier. When more than one access control rule is identified for a received user group, the processor selects one of the identified access control rule (step 1025).
The processor then determines a method to determine the user characteristic for the access control rule (step 1030). To do so, for example, the processor identifies the method 855 to determine a user characteristic in the characteristic method data structure 850 has a characteristic method identifier 851 that corresponds to the characteristic method identifier 845 in the access control rule 840 being processed.
The processor determines a user characteristic to be used for the access control rule (step 1032). For example, the processor may execute the identified method 855 to identify the characteristic for the user.
The processor then determines whether an access control group in access control information 750 corresponds to the identified access control rule and the identified user characteristic (step 1035). This may be accomplished, for example, by determining whether the rule identifier 841 of the access control rule 840 and the user characteristic identified by the method 855 correspond to an access control rule identifier 755 and the characteristic 753, respectively, in a record (that is, an access control group) in access control group information 750.
When an access control group does exist (step 1035), the processor generates a unique access control group identifier (step 1040), as described previously in
Whether access control group information has been accessed (step 1050) or generated (step 1045), the processor also generates user context information for the user (step 1060). This may be accomplished, for example, when the processor generates a record for the user context information 740 having an access control group identifier 741 that corresponds to the access control group identifier 761 that has been previously identified (in step 1050) or generated (in step 1045). The user context record also includes a user identifier 742 that corresponds to the received user identifier. Optionally, the generated user context record may be stored in persistent storage (step 1070).
The processor determines whether there are more access control rules for the user group (step 1075), and, if so, selects another access control rule to process (step 1020) and continues as described above. When the processor determines that there are not more access control rules for the user group (step 1075), the process 1000 ends.
Referring to
The user table 1110 arranges data associated with a user into a series of columns 1111, 1112 and 1114, and rows 1110A-1110B. Each column 1111, 1112 and 1114 describes an attribute of a user for which data is being stored. Each row 1110A-1110B represents a collection of attribute values for a particular user identifiable by a user identifier 1111. The attributes include the user group identifier 1112 that is associated with a particular user and a user name 1114 of the particular user.
The user assignment table 1115 arranges data associated with a user assignment into a series of columns 1116 and 1118, and rows 1115A-1115C. Each column 1116 and 1118 describes an attribute of a user assignment for which data is being stored. Each row 1115A-1115B represents a collection of attribute values for a particular assignment for a particular user who is identifiable by a user identifier 1116. The attributes include the sales territory 1118 for which a particular user is responsible—that is, the user assigned to the sales territory 1118.
The sales territory to which a user is assigned may be determined by using the user identifier 1111 to identify a sales territory record in sales territory table 1115 that has a corresponding user identifier 1116, as represented by link 1119. For example, “User A” of row 1110A in the user information table 1110 is responsible for the “SouthEast” sales territory 1118. This may be determined by identifying the sales territory row 1115A that has a user identifier 1116 that corresponds to the “User A” user identifier 1111 in the user information table 1110.
The sales order table 1120 arranges data associated with a user assignment into a series of columns 1121 and 1123, and rows 1120A-1120D. Each column 1121 and 1123 describes an attribute of a sales order for which data is being stored. Each row 1120A-1120D represents a collection of attribute values for a particular sales order identifiable by a sales order identifier 1121. The attributes include the sales territory 1123 in which the sales order was placed.
The user responsible for a particular sales order may be determined by using the sales territory attribute 1123 to identify the users assigned to a particular sales territory, as reflected in the user assignment table 1115. This is reflected in link 1125. For example, “Sale A” of row 1120A in the sales order table 1120 occurred in the “SouthEast” sales territory 1123, according to row 1120A. The users assigned to the “SouthEast” sales territory 1123 may be determined by identifying the user assignment rows 1120A and 1120B that have “SouthEast” sales territory assignments as identified by attribute 1118 in the user assignment table 1115.
Referring to
The rule table 1150 arranges data associated with an access control right into a series of columns 1151-1159 and rows 1150A-1150C. Each of columns 1151-1159 describes an attribute of an access control right for which data is being stored. Each row 1150A-1150C represents a collection of attribute values for a particular access control rule identifiable by the rule identifier 1151. The attributes include a user group identifier 1153, a characteristic method identifier 1155, an indication 1157 of permitted action, and an object type 1159, as described previously with respect to rule information 840 in
The characteristic method table 1160 arranges data associated with a method to determine a characteristic into a series of columns 1161-1167 and rows 1160A-1160C. Each column of columns 1161-1167 describes an attribute of an access control rule for which data is being stored. Each row 1160A-1160C represents a collection of attribute values for a particular characteristic method identifiable by the characteristic method identifier 1161. The attributes include an a characteristic type 1163, a method 1165 to determine a user characteristic, and a method 1167 to determine a business object characteristic, as described previously with respect to characteristic method information 850 in
Referring to
The user context table 1240 arranges access data associated with a user into a series of columns 1241 and 1242 and rows 1240A-1240C. Each column 1241 and 1242 describes an attribute of a user context data being stored. Each row 1240A-1240C represents a collection of attribute values for a particular user identifiable by a user identifier 1241. The attributes include the user identifier 1241 that is associated with a particular user and an access control group identifier 1242 that associates the corresponding records in the user context table 1240, the access control group table 1250 and the access control list table 1260, as described previously with respect to
The access control group table 1250 arranges access data into columns 1251, 1253 and 1255 and rows 1250A-1250D. Column 1251 describes an access control group identifier 1251. Column 1253 describes the characteristic attribute 1253, and access control rule identifier 1255 identifies a corresponding record in the access control rule table 1150 that was used to generate the access control group identified by the access control group identifier 1251. Each row 1250A-1250D represents a collection of attribute values for a particular access control group identifiable by the access control identifier 1251.
The access control list table 1260 arranges access data into columns 1261, 1263 and 1265, each of which describes an attribute, and rows 1260A-1260H. Each row 1260A-1260H represents a collection of attribute values for a particular access control group identifiable by the access control identifier 1261. The attributes include a business object identifier 1263 and an indicator 1265 of permitted actions.
An entry in the user context table 1240 is related to an entry in the access control group table 1250 through the access control group identifiers 1242 and 1251, as shown by link 1270. Similarly, an entry in the access control group table 1250 is related to an entry in the access control list table 1260 through the access control group identifiers 1251 and 1261, as shown by link 1275.
Referring also to
The processor determines the method record 1155 as identified in the access control rule table 1150 to determine the business object characteristic for the object type 1159 of “Sales Object” (step 930). Here, the processor identifies two methods for the object type as shown in rows 1150A and 1150B. However, in this case, the two rows both use the same method 1167 to determine a business object characteristic, as shown by the “GetSalesTerritoryForObject” method in the characteristic method table 1160.
The processor uses the method 1167 identified in row 1160A to determine the business object characteristic for the “Sale A” sales object (step 930). The processor executes the “GetSalesTerritoryForObject” method 1167 identified in row 1160A to determine that the characteristic of the business object is “SouthEast,” based on row 1120A of Sales Object 1120 that has a sales territory 1123 value of “SouthEast.”
Assuming that no access control groups have yet been determined for the “Sale A” sales object associated with the “SouthEast” sales territory (step 935), the processor generates a unique access control group identifier (here, “ACgroup1”)(step 940). The processor also generates the characteristic attribute 1253 of “SouthEast” based on the results of executing the method 1167 for the business object identifier “Sale A.” The processor generates the access control rule identifier 1255 of“Rule01” based on the rule identifier 1151 of the access control rule (here, row 1150A) previously selected from the access control table 1150 (step 945). The access control group information is stored in row 1250A of the access control group table 1250.
The processor then generates access control list information for the “Sale A” sales object (step 960). This is accomplished by using the access control group identifier “ACgroup1” that was generated as the access control group identifier 1261, the received business object identifier “Sale A” as the business object identifier 1263, and the permitted action 1157 “Change” of row 1150A in the rule table 1150 (that corresponds to the rule identifier 1155 for access control rule “Rule01” that is being processed) as the permitted action attribute 1265. The processor transforms the “Change” permitted value into the database operations of “Read, Write” which are the attributes associated with permitted action attribute 1265. The transformation may be accomplished using processing logic that maps one or more values of permitted action 1157 in the rule table 1150 to one or more values of permitted action 1265 in the access control list table 1260. The generated access control list information is stored in row 1260A of the access control list table 1260.
The processor determines that another access control rule applies to the object type “Sales Object” (here, Rule02 in row 1150B of access control rule table 1150) (step 980) and selects that rule for processing (step 925). The result of the processing of Rule02 is row 1250B being stored in the access control group table 1250 and the row 1260B being stored in the access control list table 1260.
The rows 1250C and 1250D in the access control table 1250 and the rows 1260C-1260H in the access control list table 1260 result from using the process 900 to generate access control information for the sales objects 1120B-1120D stored in sales object table 1120.
Referring also to
The processor then identifies the method to use to determine a user characteristic (step 1020). To do so, the processor uses the characteristic method identifier 1155 in the rule table 1150 to identify a particular characteristic method in the characteristic method table 1160 that has a corresponding value for the characteristic method identifier 1155 in the rule table 1150.
The processor uses the method 1165 identified in row 1160A to determine the user characteristic for the “User A” user (step 1030). The processor executes the “GetSalesTerritoryForUser” method 1165 identified in row 1160A to determine that the characteristic of the user is “SouthEast.” This is accomplished by accessing row 1115A of the user assignment table 1115. As illustrated by method 1165 identified in row 1160A, obtaining a characteristic on which the user-to-business-object relation is based may be a complex relation that is defined programmatically and is not limited to the definition of an attribute value that is occurs in the user record. Similarly, a characteristic of a business object is not limited to the attributes that are stored in the business object. A user characteristic may be any characteristic that is directly or indirectly related to a particular user, as a business characteristic may be any characteristic that is directly or indirectly related to a particular business object.
Assuming that the access control groups have been determined as described above with respect to
The processor determines that another access control rule does not apply to the user group “Sales Employee” that is associated with the received user identifier (step 1080) and ends the process 1000.
The rows 1240B and 1240C in the user context table 1240 result from using the process 1000 to generate user context information for the users that are represented by rows 1110B-1110C stored in user table 1110.
The process 1300 is initiated by another computer program when a user seeks to access a particular business object. The processor receives a user identifier and a business object identifier (step 1310) and an optional action to be performed on the business object (step 1315), as described previously in
The processor then accesses the access control list table 1260 and the user context table 1240 (step 1317). The processor does not need to access the access control group table 1250 when determining whether a user is permitted to access a particular business object. This may be useful because a process that accesses a smaller number of data tables often may be more efficient than a process that accesses that more data tables.
The processor then determines whether an access control group identifier is associated both with the received user identifier and the received business object identifier (step 1320). Some implementations may perform a database operation to join, based on matching values in the access control group identifier attributes 1242 and 1261, the access control list table 1250 with the user context table 1240. The resulting joined table may be used to identify an access control group identifier that is associated both with the received user identifier and the received business object identifier. Here, the row 1240A in the user context table 1240 and the row 1260A in the access control list table 1260 both contain the same access control group identifier (here, “ACgroup1”). This indicates that the received user (“User A”) is permitted to access the received business object (“Sale A”).
When such an access control group identifier is not found (step 1325), the user is not permitted to access the business object (step 1330) and the processor ends the process 1300. When the processor finds access control group identifier that permits the user to access the business object (step 1325) (as is the case for “User A”), the processor permits access to the business object (step 1335).
In this example, the processor then determines whether the received action of “Read’ is permitted (step 1340). To do so, the processor determines whether the received permitted action of “Read” is included in the permitted action 1265 in row 1260A of the access control list table 1260. Here, the requested action “Read” is permitted (step 1345), so processor permits the action to occur on the business object (step 1355). If the requested action “Read” was not permitted (step 1345), the processor would not permit the action to occur on the business object. In either case, an indication whether the user is permitted to perform the requested action on the identified business object may be provided to the initiating software module or other type of executable software and the process 1300 ends.
Although the techniques and concepts described above refer to a business object for a business application operating on a computer system, the applicability of the techniques and concepts is not limited to that particular context. For example, the techniques and concepts may be applicable to accessing resources identified by a directory structure that are not associated with a business application. The techniques and concepts may be applicable to controlling access to another type of software, such as real-time software, scientific and engineering software, embedded software, and artificial intelligence software. Also, the techniques and concepts may be applicable to permitting access to particular attributes of a business object or collections of attributes of a business object.
A number of implementations of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other implementations are within the scope of the following claims.
Claims
1. A computer-implemented method for generating access control information, the method comprising:
- receiving an access control rule that identifies a characteristic, the characteristic identifying an attribute from which attribute values of at least one user data entry and at least one object data entry are to be accessed and compared to generate access control information;
- programmatically identifying at least one user data entry in user information that includes the attribute identified by the identified characteristic;
- programmatically accessing, from the at least one user data entry, a first attribute value for the attribute identified by the identified characteristic and included in the at least one user data entry;
- programmatically identifying at least one object data entry in data object information that includes the attribute identified by the identified characteristic;
- programmatically accessing, from the at least one object data entry, a second attribute value for the attribute identified by the identified characteristic and included in the at least one object data entry;
- programmatically comparing the first attribute value with the second attribute value;
- based on comparison results, programmatically determining whether the first attribute value corresponds to the second attribute value;
- conditioned on determining that the first attribute value corresponds to the second attribute value, generating access control information that permits at least one user associated with the at least one user data entry in the user information to access the at least one object data entry in the data object information; and
- storing the generated access control information in electronic storage.
2. The method of claim 1 wherein:
- the identified characteristic is indirectly associated with the at least one user data entry in the user information, and
- programmatically identifying at least one user data entry in user information that includes the attribute identified by the identified characteristic comprises programmatically identifying at least one user data entry in user information that is indirectly associated with the identified characteristic.
3. The method of claim 1 wherein:
- the identified characteristic is directly associated with the at least one user data entry in the user information, and
- programmatically identifying at least one user data entry in user information that includes the attribute identified by the identified characteristic comprises programmatically identifying at least one user data entry in user information that is directly associated with the identified characteristic.
4. The method of claim 1 wherein generating access control information comprises:
- generating user access control information that identifies the at least one entry in the user information that is associated with the identified characteristic,
- generating object access control information that identifies the at least one entry in the data object information that is associated with the identified characteristic, and
- associating at least one entry in the user access control information with at least one entry in the data object access control information.
5. The method of claim 4 further comprising storing the association of the at least one entry in the user access control information with the at least one entry in the data object access control information.
6. The method of claim 4 further comprising:
- storing the data object access control information, and
- storing the user access control information.
7. The method of claim 4 further comprising determining whether a particular user associated with the at least one entry in the user access control information is permitted access to a particular data object that is associated with the at least one entry in the data object access control information wherein the determination is based on the association of the at least one entry in the user access control information with the at least one entry in the data object access control information.
8. The method of claim 1 further comprising receiving a filter condition, wherein generating access control information further comprises generating access control information by eliminating at least one entry in the user information that corresponds to the received filter condition such that access control information does not include the eliminated at least one entry in the user information.
9. The method of claim 1 further comprising receiving a filter condition, wherein generating access control information further comprises generating access control information by eliminating at least one entry in the data object information that corresponds to the received filter condition such that access control information does not include the eliminated at least one entry in the data object information.
10. A computer system for managing access control information for software operating on the computer system, the system comprising: store the generated access control information in electronic storage.
- a data repository for access control information for software, the data repository including user information identifying a user characteristic for at least one entry in the user information, data object information identifying a data object characteristic for at least one entry in the data object information, and access control rule information identifying a shared characteristic for at least one entry in the access control rule information; and
- an executable software module when executed by a processor configured to:
- programmatically identify at least one user data entry in user information that includes an attribute identified by the user characteristic;
- programmatically access, from the at least one user data entry, a first attribute value for the attribute identified by the user characteristic and included in the at least one user data entry;
- programmatically identify at least one object data entry in data object information that includes an attribute identified by the data object characteristic;
- programmatically access, from the at least one object data entry, a second, attribute value for the attribute identified by the data object characteristic and included in the at least one object data entry;
- programmatically compare the first attribute value, the second attribute value, and an attribute value identified by the shared characteristic;
- based on comparison results, programmatically determine whether the first attribute value corresponds to the second attribute value;
- generate access control information for use in determining whether a user that is associated with the at least one user data entry in the user information is permitted to access the at least one object data entry in the data object information, generation of access control information comprises:
- generating access control information that allows the user associated with the at least one user entry in the user information to access the at least one object data entry conditioned on determining that the first attribute value corresponds to the second attribute value, and
- generating access control information that prevents the user associated with the at least one user entry in the user information from accessing the at least one object data entry conditioned on determining that the first attribute value does not correspond to the second attribute value; and
11. The computer system of claim 10 further comprising a second executable software module that causes a determination whether a user associated with an entry in the user information is permitted to access a data object associated with an entry in the data object information such that the determination is based on the generated access control information.
12. The computer system of claim 11 wherein the second executable software module is the same executable software module as the first executable software module.
13. The computer system of claim 10 wherein the executable software module stores the generated access control information in electronic storage such that the generated access control rule information may be accessed to determine whether the user is permitted to access the data object when the user requests access to the data object subsequent to generation of the access control information.
14. The computer system of claim 10 wherein the executable software module causes an association between at least one entry in the user information and at least one entry in the access control information when the user characteristic corresponds to the shared characteristic.
15. The computer system of claim 14 wherein the executable software module causes an association between at least one entry in the data object information and at least one entry in the access control information when the data object characteristic corresponds to the shared characteristic.
16. The computer system of claim 15 wherein the executable software module causes a determination whether the user is permitted access to the data object based on the association of the user information to the shared characteristic and the association between the data object information and the shared characteristic.
17. The computer system of claim 10 wherein:
- the data repository includes: user group information that associates a user group with at least one entry in the user information, and access control rule information that identifies action that a user who is associated with group of users is permitted to perform on a data object, and
- the executable software module causes a determination to be made, based on an association of the at least one entry in the user information with the user group, as to whether the user associated with the at least one entry in the user information is permitted to perform a particular action on a particular data object.
18. A computer-readable medium having embodied thereon a computer program configured to generate access control information, the medium comprising one or more code segments configured to:
- receive an access control rule that identifies a characteristic, the characteristic identifying an attribute from which attribute values of at least one user data entry and at least one object data entry are to be accessed and compared to generate access control information;
- programmatically identify at least one user data entry in user information that includes the attribute identified by the identified characteristic;
- programmatically access, from the at least one user data entry, a first attribute value for the attribute identified by the identified characteristic and included in the at least one user data entry;
- programmatically identify at least one object data entry in data object information that includes the attribute identified by the identified characteristic;
- programmatically access, from the at least one object data entry, a second attribute value for the attribute identified by the identified characteristic and included in the at least one object data entry;
- programmatically compare the first attribute value with the second attribute value;
- based on comparison results, programmatically determine whether the first attribute value corresponds to the second attribute value;
- conditioned on determining that the first attribute value corresponds to the second attribute value, generate access control information that permits at least one user associated with the at least one user data entry in the user information to access the at least one object data entry in the data object information; and
- store the generated access control information in electronic storage.
19. The medium of claim 18 wherein the one or more code segments configured to generate access control information comprise one or more code segments configured to:
- generate user access control information that identifies the at least one entry in the user information that is associated with the identified characteristic,
- generate object access control information that identifies the at least one entry in the data object information that is associated with the identified characteristic, and
- associate at least one entry in the user access control information with at least one entry in the data object access control information.
20. The medium of claim 19 wherein the one or more code segments are further configured to determine whether a particular user associated with the at least one entry in the user access control information is permitted access to a particular data object that is associated with the at least one entry in the data object access control information wherein the determination is based on the association of the at least one entry in the user access control information with the at least one entry in the data object access control information.
21. The medium of claim 18 wherein the one or more code segments are further configured to:
- receive a filter condition, and
- generate access control information by eliminating at least one entry in the user information that corresponds to the received filter condition such that access control information does not include the eliminated at least one entry in the user information.
22. The medium of claim 18 wherein the one or more code segments are further configured to:
- receive a filter condition, and
- generate access control information further comprises generating access control information by eliminating at least one entry in the data object information that corresponds to the received filter condition such that access control information does not include the eliminated at least one entry in the data object information.
23. The method of claim 1 wherein programmatically identifying at least one user data entry in user information that includes the attribute identified by the identified characteristic, programmatically identifying at least one object data entry in data object information that includes the attribute identified by the identified characteristic, and generating access control information that permits at least one user associated with the at least one user data entry in the user information to access the at least one object data entry in the data object information occurs automatically without human intervention.
24. The method of claim 1 wherein:
- programmatically identifying at least one user data entry in user information that includes the attribute identified by the identified characteristic comprises:
- programmatically identifying a first user data entry in user information that includes the attribute identified by the identified characteristic, and
- programmatically identifying a second user data entry in user information that includes the attribute identified by the identified characteristic comprises, the first user data entry being associated with a first user and the second user data entry being associated with a second user that is different than the first user,
- programmatically accessing, from the at least one user data entry, a first attribute value for the attribute identified by the identified characteristic and included in the at least one user data entry comprises:
- programmatically accessing, from the first user data entry, a first attribute value for the attribute identified by the identified characteristic and included in the first user data entry, and
- programmatically accessing, from the second user data entry, a third attribute value for the attribute identified by the identified characteristic and included in the second user data entry,
- programmatically identifying at least one object data entry in data object information that includes the attribute identified by the identified characteristic comprises programmatically identifying a first data object in data object information that includes the attribute identified by the identified characteristic,
- programmatically accessing, from the at least one object data entry, a second attribute value for the attribute identified by the identified characteristic and included in the at least one object data entry comprises programmatically accessing, from the first data object, a second attribute value for the attribute identified by the identified characteristic and included in the first data object,
- programmatically comparing the first attribute value with the second attribute value comprises programmatically comparing the first attribute value with the second attribute value and the third attribute value with the second attribute value,
- based on comparison results, programmatically determining whether the first attribute value corresponds to the second attribute value comprises programmatically determining whether the first attribute value corresponds to the second attribute value and whether the third attribute value corresponds to the second attribute value,
- conditioned on determining that the first attribute value corresponds to the second attribute value, generating access control information that permits at least one user associated with the at least one user data entry in the user information to access the at least one object data entry in the data object information comprises, conditioned on determining that the first attribute value corresponds to the second attribute value and the third attribute value corresponds to the second attribute value, generating first access control rule information that enables the first user to access the first data object and second access control rule information different than the first access control rule information that enables the second user to access the first data object.
25. The method of claim 24 further comprising:
- storing the generated access control information in electronic storage.
26. The method of claim 25 wherein storing the generated access control information in electronic storage comprises:
- storing a first access control information data record that includes a first user identifier that identifies the first user and a first data object identifier that identifies the first data object, and
- storing a second access control information data record that includes a second user identifier that identifies the second user and a second data object identifier that identifies the first data object.
5539906 | July 23, 1996 | Abraham et al. |
5941947 | August 24, 1999 | Brown et al. |
6023765 | February 8, 2000 | Kuhn |
6088679 | July 11, 2000 | Barkley |
6212511 | April 3, 2001 | Fisher et al. |
6275825 | August 14, 2001 | Kobayashi et al. |
6279111 | August 21, 2001 | Jensenworth et al. |
6470339 | October 22, 2002 | Karp et al. |
6470353 | October 22, 2002 | Yaung et al. |
6484258 | November 19, 2002 | Haverty |
6513039 | January 28, 2003 | Kraenzel |
6535879 | March 18, 2003 | Behera |
6539380 | March 25, 2003 | Moran |
6578037 | June 10, 2003 | Wong et al. |
6591244 | July 8, 2003 | Jim et al. |
6591265 | July 8, 2003 | Erickson et al. |
7167918 | January 23, 2007 | Byrne et al. |
20020026592 | February 28, 2002 | Gavrila et al. |
20020178119 | November 28, 2002 | Griffin et al. |
20020184535 | December 5, 2002 | Laracuente et al |
0 697 662 | February 1996 | EP |
0913966 | May 1999 | EP |
0 992 873 | April 2000 | EP |
0992873 | April 2000 | EP |
- “XACML: A New Standard Protects Content in Data Exchange,” Jun. 24, 2003, 7 pages, reprinted from http://developer.java.sun.com/developer/technicalArticles/Security/xacml/xacml.html.
- “Sun's XACML Implementation,” Jun. 23, 2003 Update, 2 pages, reprinted from http://sunxacml.sourceforge.net.
- “Oasis: XACML Implementers Guide,” Hal Lockhart, ed., Jun. 12, 2002, 5 pages.
- “Oasis: Web-Services Policy Language Use-Cases and Requirements, Working Draft 04,” Tim Moses, ed., Apr. 16, 2003, 23 pages.
- “Oasis: eXtensible Access Control Markup Language (XACML) Version 1.0, Oasis Standard,” Simon Godik and Tim Moses, eds., Feb. 18, 2003, 132 pages.
- Sandhu et al., “Access Control: Principles and Practice, ” IEEE Communications Magazine, Sep. 1994, vol. 32, No. 9, 9 pages.
- Barkley, et al. “Managing Role/Permission Relationships Using Object Access Types,” Proceedings of the 3rd ACM Workshop on Role-Based Access Control, New York, US, Oct. 22-23, 1998, pp. 73-80.
- Deng, et al., “A Dynamic Access Control Model for Object-Oriented System,” Institute of Electrical and Electronics Engineers, New York, US, Oct. 13-15, 1993, pp. 159-163.
- Schaad, et al. “The Role-Based Access Control System of a European Bank: A Case Study and Discussion,” Proceedings of The 6th ACM Symposium on Access Control Models and Technologies, Chantilly, VA, May 3-4, 2001, pp. 3-9.
Type: Grant
Filed: Aug 18, 2003
Date of Patent: Mar 25, 2008
Patent Publication Number: 20050044396
Assignee: SAP AG (Walldorf)
Inventors: Matthias Vogel (Saarbrücken), Bernhard Drittler (Walldorf), Markus Kupke (Dielheim)
Primary Examiner: Kim Vu
Assistant Examiner: Beemnet W Dada
Attorney: Fish & Richardson P.C.
Application Number: 10/642,500
International Classification: G06F 7/04 (20060101); G06F 17/30 (20060101);