U.S. patent applications Ser. No. 10/131,651, now U.S. Pat. No. 6,976,023 issued 13 Dec. 2005, entitled “SYSTEM AND METHOD FOR MANAGING APPLICATION SPECIFIC PRIVILEGES IN A CONTENT MANAGEMENT SYSTEM”, Ser. No. 10/131,634, entitled “SYSTEM AND METHOD FOR CONFIGURABLE BINDING OF ACCESS CONTROL LISTS IN A CONTENT MANAGEMENT SYSTEM ”, and Ser. No. 10/131,659, entitled “SYSTEM AND METHOD FOR INCREMENTAL REFRESH OF A COMPILED ACCESS CONTROL TABLE IN A CONTENT MANAGEMENT SYSTEM” filed concurrently herewith are assigned to the same assignee hereof and contain subject matter related, in certain respect, to the subject matter of the present application. The above-identified patent applications are incorporated herein by reference.
This invention relates to a system and method for managing a database. More particularly, it relates to managing access to data items through use of a plurality of authentication schemes.
Content Manager is a relational database, such as the IBM DB2 database manager, client/server application. To use database manager authentication, system administrators are faced with the problem of managing users at the operating system level. In a large content manager installation, this could mean managing up to 100,000 users, a task that can be tedious and time-consuming.
Given this environment, one requirement is to allow authentication directly by content manager instead of defining users to the operating system. This is a preferred environment when content manager users do not need access to any other resources of the system.
When users do need access to other resources on the system running the content manager server, customers sometimes prefer a central repository for managing user IDs and passwords. This is most often considered to be a requirement for Lightweight Directory Access Protocol(LDAP) support, but has also included the need to use some other authentication mechanism.
It is an object of the invention to provide an improved system and method for authenticating system users.
A system and method for authenticating a user by connecting the user to a database manager; and logging on the user to a content manager running on top of the database manager selectively responsive to the user connecting to said database manager; the user being authenticated by a third party; or the user being authenticated by the content manager.
In accordance with an aspect of the invention, there is provided a computer program product configured to be operable to connect a user to a content manager running on top of a database manager.
Other features and advantages of this invention will become apparent from the following detailed description of the presently preferred embodiment of the invention, taken in conjunction with the accompanying drawings.
Referring to
Referring to
Referring to
Referring to
User table 16 columns include user ID 130, user kind 140, user privilege set code 142, grant privilege set code 146, default ACL code 148, password 156, and user name 152. User ID 130 is the ID of the individual user or group. For an individual user 141, user ID 130 should match his DBMS user ID. The CM 20 uses this value for user authentication and access control. For a group 141, user ID 130 contains the group name. User kind 140 indicates whether this entry 141 represents an individual user or a group. User privilege set code 142 denotes the user privileges for this user 141. The privilege set 158 must be defined first, and this value is not valid for groups. It is set to 1 by CM system 20 for groups. User privilege set code 142 may be updated. This user privilege set code 142 may be set to a value to allow trusted logon. Grant privilege set code 146 is the code assigned to new users 141 by a user 141 who is authorized to create users but not grant privileges to the new users. This value 146 is not valid for groups, and it can be updated. A system administrator GUI for creating a user 141 must have an entry field for that user's grant privilege set code 146. Default ACL code 148 is used to associate with items 42 when the access control 104 is configured at item level if this user 141 does not provide an ACL code when he creates items 42. Password 156 is the encrypted user password. User name 152 is the full name of this user or group 141.
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
A) DB2 authentication
B) Content Manager (CM) authentication
C) 3rd party authentication after connecting to CM
D) 3rd party authentication before connecting to CM
System objects of interest to this embodiment of the invention include server 14, which includes database server 22, user application 24 and exit 26, a system file of database user IDs, and content manager system 20 which includes as a CM library server stored procedure 46 content manager authentication procedure 21. Depending upon the logon scenario, other objects include third party authentication 23 and client system 11, which includes an end user authentication server 27 and database 29 of user IDs and passwords. The interrelationship of these objects will be explained hereafter in connection with
Referring to
Referring to
Referring to
Referring to
In step 188, CM 20 decrypts CM user password 256 and sends it to user exit 26 along with CM user ID 252.
Table VI contains an exemplary embodiment of user exit 26. In this example, the function in CM 20 that handles a logon request is ICMlogon. User exit 26 may, according to scenario C, access end user authentication server 27 and database 29 to perform the authentication of CM user ID 252.
In step 190, CM 20 determines from user exit 26 return codes and interface objects if CM user 252 has been authenticated. According to scenario C, if the user has been authenticated by user exit 26, in step 194 the CM logon procedure updates a users count in system control table 31, retrieves the privileges for CM user ID 252 and returns a successful logon request.
In the example of Table VI, after UserExit 26 is executed, ICMLogon examines output parameters plReason and plRC. If plRC returns an error, ICMLogon will stop its execution. If plRC returns success or a warning message, in step 194, ICMlogon will continue execution. If plReason is returned with value 0, ICMLogon will continue to step 192 to do password validation. If plReason is returned with value 1, in step 194, ICMLogon will bypass password validation.
In step 192, if user exit 26 does not authenticate CM user ID 252, it is determined if DB user ID 254 equals CM user ID 252. If they are equal, according to scenario A, the user is registered to both DB 22 and CM 20 by the system administrator, password validation occurred during connect to database step 180, and in step 194 CM 20 logon returns a successful logon request with the user privileges for CM user ID 252.
If in step 192 it is determined that DB user ID 254 and CM user ID 252 are not the same, then CM authentication 21 must execute.
In step 196, CM authentication 21 determines if DB user 254 has CM privilege set code 142 for connect (ICMConnectPrivSet). If not, in step 204 CM logon is denied. If so, and step 198 determines that CM logon password 256 is not null, then according to scenario B, in step 200 CM authentication determines if CM user password 256 matches password 156 for this user 252. If so, in step 194 CM logon returns successful and, if not, in step 204 CM logon returns not successful.
If CM user password 256 is null, according to scenario D, in step 202 CM authentication determines if allow trusted logon flag 105 is set in system control table and if this DB2 user 254 has user privilege set code 142 for trusted logon. If either is not true, in step 204 logon is denied. If both are true, CM logon 194 returns successful.
For scenario A), DB222 authentication is used where performance and reliance on the security services of the operating system 14 are required. This requires that the same user ID be maintained by the system administrator for the user in both the database server and the content manager server. In an exemplary embodiment, a user ID is defined in client 10 for use in DB222. All users defined, for example, for a Windows NT operating system 14 are also defined as DB222 users. Passwords defined for each user in the NT system are also used to connect to DB2. This approach could be burdensome. For instance, CM 20 is an application that runs on top of DB222, and a user that uses CM 20 also needs to be a DB222 user. In a large installation of many clients 10, the manager may have to manage tens of thousands of users both in the CM 20 context and also in the Windows NT system 14.
For scenario B), to reduce the burden of managing users at the operating system level, content manager system 20 offers its own user authentication mechanism. According to this scenario, CM 20 allows one DB222 user to be shared among many CM users 141. So, for this case B) one shared DB2 user 141/254 is used for all CM users. This DB2 shared user 141 has no privilege 142 to use CM 20, rather all privileges 142 to use the CM application 20 are assigned to CM users 141 other than the one shared DB2 user. The shared DB2 user ID has a very basic privilege set, the connect privilege set (Table V, privilege set code 154=7 and privilege definition code 150=1, Table IV privilege set code 154=7). The connect privilege set for the one shared DB2 user 254 is a privilege set that is checked in content manager (CM) 20 that this one shared user id can be shared among CM users 252. In this case, there must still be a valid user ID 130/254 and password 156/258 used to connect to the database 20, and then a different user ID 130/252 and password 156/256 is sent as part of a “logon” request 250 to content manager 20. To support this model, the content manager “privilege” mechanism is used. The User ID 130/254 used to connect to CM database 30 is defined only with the privilege 142 to call “logon” with a different CM user ID 130/252. This ensures that even if a user 141 discovers the algorithm used for encryption of the user ID 130/password 156, logging on with that user ID 130/254 would not enable access to any resources on the server 20.
For scenario C), where authentication is performed after connecting to content manager 20, exit 26 is enabled. The password 256 provided by the client 10 is encrypted before being sent to the server 14. There is decrypted, and passed to the user exit 24 for authentication. In the log on procedure, this exit allows the end user to plug in his own user exit 26 to validate his own CM user id and password in the logon request to the CM 20 application. The password comes to CM 20 encrypted. CM 20 decrypts the password and sends it to the user exit 26 in its original form for validation. User exit 26 will typically access an end user client system 11 to have server 27 conduct authorization against an authentication database 29 of valid user IDs 252 and passwords 256. After user exit 26 executes, logon will check if CM user 252 had been authenticated by the user exit 26. If user application 24 provides no user exit 26, CM logon 21 takes care of validating the user.
For scenario D), a user connects to database server 22, and then logs on 250 with a CM user ID 252 in a trusted logon system environment. The trusted logon system environment is, for example, initialized by the system administrator setting trusted logon flag 105 true in system control table 31. The user accesses CM 20 through allow trusted logon, which is an environment where another application 23 has already validated this DB user id 254 and password 258. As with scenario B), in scenario D) the DB user ID 254 is a shared ID used just to connect to database server 22, and for scenario D) must have user privilege set code 142 for trusted logon. When these conditions are met (flag 105 is true, and privilege set code 142 is allow trusted logon for this shared DB user ID 254) CM 20 will trust that authentication has been done by a third party 23, and allow this user 254 to access CM.
It is an advantage of the invention that there is provided an improved system and method for authenticating system users.
It is a further advantage of the invention that there is provided an improved system and method for authenticating system users for access to content manager controlled entities.
It will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, it is within the scope of the invention to provide a computer program product or program element, or a program storage or memory device such as a solid or fluid transmission medium, magnetic or optical wire, tape or disc, or the like, for storing signals readable by a machine, for controlling the operation of a computer according to the method of the invention and/or to structure its components in accordance with the system of the invention.
Further, each step of the method may be executed on any general computer, such as IBM Systems designated as zSeries, iSeries, xSeries, and pSeries, or the like and pursuant to one or more, or a part of one or more, program elements, modules or objects generated from any programming language, such as C++, Java, Pl/1, Fortran or the like. And still further, each said step, or a file or object or the like implementing each said step, may be executed by special purpose hardware or a circuit module designed for that purpose.
Accordingly, the scope of protection of this invention is limited only by the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
5390312 | Chairot et al. | Feb 1995 | A |
5495533 | Linehan et al. | Feb 1996 | A |
5552776 | Wade et al. | Sep 1996 | A |
5560005 | Hoover et al. | Sep 1996 | A |
5627987 | Nozue et al. | May 1997 | A |
5774668 | Choquier et al. | Jun 1998 | A |
5941947 | Brown et al. | Aug 1999 | A |
6014666 | Helland et al. | Jan 2000 | A |
6052785 | Lin et al. | Apr 2000 | A |
6105027 | Schneider et al. | Aug 2000 | A |
6141754 | Choy | Oct 2000 | A |
6161139 | Win et al. | Dec 2000 | A |
6195705 | Leung | Feb 2001 | B1 |
6256715 | Hansen | Jul 2001 | B1 |
6308173 | Glasser et al. | Oct 2001 | B1 |
6438549 | Aldred et al. | Aug 2002 | B1 |
6460141 | Olden | Oct 2002 | B1 |
6470353 | Yaung et al. | Oct 2002 | B1 |
6523027 | Underwood | Feb 2003 | B1 |
6581060 | Choy | Jun 2003 | B1 |
6609128 | Underwood | Aug 2003 | B1 |
6633878 | Underwood | Oct 2003 | B1 |
6718535 | Underwood | Apr 2004 | B1 |
6772350 | Belani et al. | Aug 2004 | B1 |
6823338 | Byrne et al. | Nov 2004 | B1 |
6823452 | Doyle et al. | Nov 2004 | B1 |
6976023 | Chen et al. | Dec 2005 | B2 |
20010037379 | Livnat | Nov 2001 | A1 |
Number | Date | Country |
---|---|---|
WO9940502 | Aug 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20030200466 A1 | Oct 2003 | US |