Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  ucsb 946 about 22 years Jing Tao A method named hasReadPermission was added. The...

Latest revisions

# Date Author Comment
946 02/26/2002 08:30 AM Jing Tao

A method named hasReadPermission was added. The method will check if a user has permission toread a xml document.

945 02/26/2002 08:23 AM Jing Tao

A new method named hasPermissionToExportPackage was added. So when MetaCat handle export action, it will check if user has permission to read the data package. If it has, MetaCat will export a zip output stream to it. Otherwise, MetaCat will be through a exception.

944 02/26/2002 08:18 AM Jing Tao

Code to handle "read" permission was changed in hasPermission method. The old code used old way to look up the public_access field in xml_documents table.

943 02/22/2002 03:02 PM Jing Tao

A new action named export was add to it. This action will export a zip output stream for a data package. In the zip output stream, meta data documents, data files and a html summary file are include. The stucture will looks like:
package----/metadata/metadata docments...

942 02/22/2002 02:56 PM Jing Tao

Two metacat util methods were add. One is getDocIdFromString and the other is getVersionFromString. They output a docid and revision if a string like str1.str2.str3. were passed to them.

941 02/22/2002 02:53 PM Jing Tao

A method named transformXmlDocument were overload. It transform an XML document to StringWriter using the stylesheet reference from the db.

940 02/22/2002 02:50 PM Jing Tao

A public method named getZippedPackage() and other relative private methods were add to this class. The public method can give a zip output stream if a docid and other parameters were passed to it.

935 02/13/2002 05:48 PM Jing Tao

Some code format problem was fixed.

934 02/13/2002 03:17 PM Jing Tao

The bug was fixed.
After a referral exception happend, we should set enviroment properties again before creating a contex. These environment properties include PROVIDER_URL, SECURITY_PRINCIPLE, SECURITY_CREDENTIALS, REFERRAL, and INITIAL_CONTEXT_FACOTRY. Otherwise, you couldn't get a naming exception.

930 02/12/2002 09:14 PM Jing Tao

Authentication bug was fixed (bug 408).
However, it needs to test if referral cotaining a referral.

View revisions

Also available in: Atom