Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  bin 407 over 24 years Matt Jones Folded the functionality from DBWriter into Doc...
  images 104 over 24 years Matt Jones added servlet interface images
  lib 643 almost 24 years berkley added data port param
  src 653 almost 24 years berkley added support for the server to return the doci...
build.sh 76 Bytes 329 over 24 years Matt Jones -Reorganized xmltodb module to support new inst...
build.xml 6.76 KB 642 almost 24 years berkley added the data port param
test-query.xml 709 Bytes 329 over 24 years Matt Jones -Reorganized xmltodb module to support new inst...
test.xml 489 Bytes 430 over 24 years Matt Jones Updated the test.xml file to use more XML featu...

Latest revisions

# Date Author Comment
653 01/10/2001 01:05 PM berkley

added support for the server to return the docid of the newly added data file. Also, now the data stream must be prefixed with the following information: filename <0> sessionid <0> filesize <0>. where the <0> symbol is a byte containing zero. The filesize is sent as an int and the filename and sessionid are sent as strings (in byte form).

652 01/09/2001 05:37 PM bojilova

unified getting "docid" value from metacat URLs specified in <resourceIdentifier> tags
by using MetaCatUtil.parseQuery() method in the same way as in MetaCatServlet.

651 01/09/2001 02:02 PM berkley

fixed error handling and time out issues. Also fixed thread syncronization problem

650 01/09/2001 01:03 PM berkley

multiple files with the same names no longer overwrite each other.

649 01/09/2001 11:09 AM berkley

fixed minor error

648 01/09/2001 11:03 AM berkley

added support for data file upload via a random, authenticated socket.
The action added to metacatServlet is getdataport. A client can send a getdataport request. the server returns a random port number and starts a thread to handle the request on the given random port. The thread will only accept requests from the client that has the session id equal to that of the user that made the getdataport request. the user must be authenticated and logged in to make a getdataport request. Once the port number is received by the client the connection can be made. The first two parameters in the data stream must be the filename, followed by session id. (note that it only wants the session id not the whole cookie and the "JSESSION=" must be stripped from the text.) If the session number is correct, the upload is allowed, the file is written and xml_documents is updated with the new data file information.

647 01/09/2001 10:57 AM berkley

added support for data file upload via a random, authenticated socket.

646 01/08/2001 05:24 PM bojilova

included "accessfileid" attr in the unique constraint

645 01/08/2001 05:11 PM bojilova

- appling acl through access files only
- clearing around update/delete of access files - to delete the related records from both xml_access and xml_relation tables
- included check for user permissions for setting acl on the resources in the access file
- moved RelationHandler.deleteRelations(docid) down in RelationHandler obj just before the write of the new relations

644 01/08/2001 05:00 PM bojilova

new attr "accessfileid" in xml_access table

View all revisions | View revisions

Also available in: Atom