Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  metacat 655 over 23 years berkley newninterface (actually an abstract class) to h...
  protocols 563 over 23 years Matt Jones Added a new URL protocol handler class for the ...

Latest revisions

# Date Author Comment
655 01/11/2001 01:36 PM berkley

newninterface (actually an abstract class) to handle data file uploading through met

654 01/10/2001 01:34 PM berkley

fixed error in logic. sending the filesize as an int terminated by a zero failed when the file size was greater than 256. The filesize is now sent as a string followed by a zero.

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.

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

View revisions

Also available in: Atom