Project

General

Profile

Statistics
| Revision:

# Date Author Comment
1369 01/16/2003 05:23 PM Jing Tao

Create a action setaccess for assign access rule to single file.

1368 01/16/2003 05:22 PM Jing Tao

Remove some genric stuff to AccessControlInterface.

1366 01/16/2003 05:18 PM Jing Tao

A general interface to handle access control.

1365 01/16/2003 05:17 PM Jing Tao

A class to handle assign a access rule to a single file.

1364 01/09/2003 06:12 PM Jing Tao

In the end of dtd, set processingDTD false.

1363 01/09/2003 06:11 PM Jing Tao

Add some debug info.

1362 01/09/2003 04:29 PM Jing Tao

In extened query, parentnodeid was added.

1361 01/09/2003 04:28 PM Jing Tao

If a text node was split into two parts, now it will be combined.

1360 01/08/2003 05:29 PM Jing Tao

Merge code from branch monarch.

1359 01/08/2003 05:29 PM Jing Tao

Merge the code for monarch.

1358 01/08/2003 05:28 PM Jing Tao

Merge the branch for monarch.

1356 01/08/2003 03:05 PM Jing Tao

Merge the code to handle export single document.

1354 01/07/2003 05:03 PM Jing Tao

Support returnfields has attributes.

1353 01/07/2003 05:03 PM Jing Tao

Support return field has attributes.

1350 01/03/2003 05:54 PM Jing Tao

add some methods and attributes to determine percentage search.

1349 01/03/2003 05:53 PM Jing Tao

Change the code for percentage search.

1348 01/03/2003 02:13 PM Jing Tao

Add new feature to support attribute in query.

1347 01/03/2003 02:12 PM Jing Tao

Fixed a bug that after finding a non-dataset document, then go back to find dataset document for it in xml_relation table.

1343 12/19/2002 10:34 AM Jing Tao

Revise code to make validateion work.

1342 12/19/2002 10:03 AM Jing Tao

Change the code for validation.

1336 12/10/2002 02:05 PM Jing Tao

Delete the code that adding access rule for access file itself.

1333 12/06/2002 06:08 PM Jing Tao

Chage the debug level for display the free connection number.

1332 11/21/2002 11:40 AM Jing Tao

Add a piece of query to get rid of invalid number in nodedata.

1331 11/12/2002 11:42 AM Jing Tao

Fixed a bug that if new triple is a new rule in xml_access table, the new triple wouldn't be added into data set file.

1330 11/08/2002 01:56 PM Jing Tao

In creating xml_access table, add a condition for assigning a access document to itself: if there is not triple. If there is a triple that access file points itself, we don't need inserting again. Otherwise we will get duplicate records.

1329 11/08/2002 01:53 PM Jing Tao

Get rid of running parser access documents into rules when it handle a access document. (we only need to parser it when handling a dataset file).

1328 11/07/2002 04:33 PM Jing Tao

Add code to write the updated acl and dataset document back to database after adding permission rules in acl document.

1327 11/06/2002 05:58 PM Jing Tao

Add code to insert extral rules found in xml_acces table into access document.

1326 11/05/2002 10:00 AM Jing Tao

Add a method writing info into log file. So the change information can be kept physically.

1325 11/04/2002 05:43 PM Jing Tao

Add two new methods to update triples in data set file and delete some access rules which doesn't exist in xml_access document. Change the main method, it will read access file form xml_access table rather than getting from argument.

1324 11/01/2002 06:12 PM Jing Tao

Add code to update tripes in data set file.

1323 11/01/2002 06:11 PM Jing Tao

Using ! rather than white space to seperate access rules.

1322 11/01/2002 06:09 PM Jing Tao

Using ! rather than white space to seperate access rule.

1321 10/30/2002 04:41 PM Jing Tao

Revise some code.

1320 10/30/2002 04:41 PM Jing Tao

Add a class to handle clean up access table.

1319 10/30/2002 10:29 AM Jing Tao

Add a class to get access rules from xml_access table directly.

1318 10/29/2002 04:29 PM Jing Tao

Add a new file to handle get access rules from a xml access document.

1316 10/16/2002 03:55 PM Jing Tao

Remove the file which we didn't use.

1309 10/14/2002 04:37 PM Jing Tao

This script is for postgresql user to update their xml_replication table.

1305 10/14/2002 09:11 AM Jing Tao

Made a shortcut for % search. It will look like: LIKE '%' rather than: LIKE '%%%'.

1304 10/11/2002 02:12 PM Jing Tao

In accessQuery, permission=READ or permission=ALL was added for both allow rule and deny rule.

1303 10/11/2002 10:33 AM Jing Tao

Create a shortcut for the query to get user's onwer doc lists. Create a private method named getOwnerQuery. If the coming query equals the owner query, the access permission checking would NOT append to the comming query. Because the owner has all permission.

1301 10/09/2002 05:27 PM Jing Tao

Add three private method: createOwnerQuery, createAllowRuleQuery and createDenyRuleQuery. And three public methods: setUserName, setGroup and getAccessQuery.

1300 10/09/2002 05:25 PM Jing Tao

Add the checking permission query into orignal query.

1299 10/07/2002 01:47 PM Jing Tao

Add code to make sure that a DBConnection checked out is auto commit.

1298 09/09/2002 03:32 PM Jing Tao

Add some debug message for displaying search time.

1297 09/09/2002 03:32 PM Jing Tao

Delete the code for permission checking in execute extened query. It was redundant. Add some debug message for displaying search time.

1294 07/14/2002 04:42 PM Jing Tao

This script file will add columns to xml_replication table in production metacat.

1293 07/14/2002 03:02 PM Jing Tao

Add a control for readForRemoteServer is only for data file.

1292 07/14/2002 12:33 PM Jing Tao

Merge cvs branch replication to cvs head.

1221 06/14/2002 09:36 AM Jing Tao

Add code to shrink connection pool size. If all connections are free.

1220 06/14/2002 09:36 AM Jing Tao

Add a new method shrinkConnectionPoolSize .

1219 06/13/2002 03:43 PM Jing Tao

Add a new method to shrink DBConnection pool size.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1216 06/13/2002 11:51 AM Jing Tao

Merger DBConnect branch to head.

1215 06/13/2002 11:37 AM Jing Tao

Merge DBConnection branch to head.

1214 06/13/2002 11:37 AM Jing Tao

Merge branch to head.

1142 05/24/2002 04:09 PM Jing Tao

Change back to Connection. DBConnection will store in cvs branch..

1141 05/24/2002 03:56 PM Jing Tao

Change back to Connection. DBConnection will store in a cvs branch.

1140 05/24/2002 03:51 PM Jing Tao

Change back to using Connection. The DBConnection will be store in a cvs branch.

1139 05/24/2002 03:47 PM Jing Tao

Change to using Connection back rather than DBConnection. DBConnection will be store in a cvs branch.

1138 05/24/2002 08:52 AM Jing Tao

Add a new method commit.

1137 05/23/2002 10:33 PM Jing Tao

Change the API for dbAdopter.

1136 05/23/2002 10:30 PM Jing Tao

Change back to pass Connection a parameter.

1135 05/23/2002 10:29 PM Jing Tao

Change back to pass connection as parameter.

1134 05/23/2002 10:28 PM Jing Tao

Change back to pass connection as a parameter. Because new connection will cause an error.

1133 05/23/2002 10:26 PM Jing Tao

Change back to pass connection as paramter in getUniqueID, otherwise new connection will cause a error:
sequence XML_NODES_ID_SEQ.CURRVAL is not yet defined in this session

1132 05/23/2002 08:50 PM Jing Tao

Add a new method - createStatement.

1131 05/23/2002 08:48 PM Jing Tao

Correct the parameter of getDBConnection - methodName in code.

1130 05/23/2002 08:42 PM Jing Tao

Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.

1129 05/23/2002 08:39 PM Jing Tao

Using getDBConenction rather than pass connection as parameter.

1128 05/23/2002 08:38 PM Jing Tao

Using getDBConnection rather than pass connection as a parameter.

1127 05/23/2002 08:36 PM Jing Tao

Using getDBConnection method rather than a parameter.

1126 05/23/2002 08:35 PM Jing Tao

Change the prototype of method getUniqeID

1125 05/23/2002 05:58 PM Jing Tao

Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.

1124 05/23/2002 05:56 PM Jing Tao

Delete connection as a class field and make every method to check in and check out connection if it need.

1123 05/23/2002 05:54 PM Jing Tao

Make a every method check in and check out DBConnection if this method need a connection.

1122 05/23/2002 01:40 PM Jing Tao

In returnDBConnection method, a new parameter named serialNumber was added. It will compare to the checkOutSerialNumber in DBConnection.

1121 05/23/2002 01:38 PM Jing Tao

Add a new attribute named checkOutSerialNumber, which to make sure when DBConnection would not be check in mutiple times.

1102 05/21/2002 09:59 AM Jing Tao

Add the code to handle error in the respone for a update request.

1101 05/21/2002 09:53 AM Jing Tao

Add test ssl work or not in handleUpdateRequest method too.

1100 05/21/2002 08:36 AM Jing Tao

Change code to handle the error message.

1099 05/21/2002 08:35 AM Jing Tao

Add error message to outPut in catch clause in handleGetDocument Request.

1098 05/20/2002 05:27 PM Jing Tao

In update method, add code to handle if a user couldn't pass a trusting test.

1097 05/20/2002 05:25 PM Jing Tao

Add a test action in replication. Before handle read and read data file action. Metacat will take a test to see if the trust key in key store. If not, wouldn't replicate documents.This is security issue.

1096 05/20/2002 05:23 PM Jing Tao

Add debugMessage level in this class

1095 05/20/2002 01:12 PM Jing Tao

Add a method getDBConnection. In this method, method name of method which checked out the connection can be passed to DBConnection object. In run() method, if a connection is checked out for too long (30 seconds), the method name and connection name will be print out.

1094 05/20/2002 01:08 PM Jing Tao

Add a attribute named checkOutMethodName and relative method. This variable can keep track which mehod check out the DBConnection.

1092 05/17/2002 05:20 PM Jing Tao

Add some new methods into this class.

1091 05/17/2002 05:19 PM Jing Tao

Add some new methods in this class.

1089 05/16/2002 05:44 PM Jing Tao

Add some new methods in it. Remove openDBconnection part to DBConnection class.

1088 05/16/2002 05:43 PM Jing Tao

Add some new attributes and methods in it.

1087 05/15/2002 05:29 PM Jing Tao

Add a new class named DBConnectionPool. This class will create DBConnection pool and other user can get or return connection to it.

1086 05/15/2002 03:15 PM Jing Tao

Add this new class into meta package. DBConnection class repsent a conncetion and its information.

1083 05/14/2002 06:23 PM Jing Tao

Add setCookie method in this class. Junit test class need this method.

1081 05/12/2002 06:30 PM Jing Tao

Add a access control for MetaCatServlet to update a document which home server is not local metacat.

1078 05/10/2002 06:26 PM Jing Tao

Add a control to accept data or not

1077 05/10/2002 06:25 PM Jing Tao

Add two controls to send or accept data.

1076 05/10/2002 06:24 PM Jing Tao

Add control to send data or not

1075 05/10/2002 06:24 PM Jing Tao

Add two control for send or accept data file