Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  bin 4810 almost 16 years daigle moved file from metacat/bin to metacat/src/scri...
  docs 9512 almost 9 years Jing Tao Update the ezid configuration screenshot.
  lib 9528 almost 9 years Jing Tao Add a new chechsum for the new solr schema.
  metacat-common 9524 almost 9 years Jing Tao Add more fields for the iso index.
  metacat-index 9527 almost 9 years Jing Tao Add beans for the iso index.
  src 9536 almost 9 years Chris Jones Change getUsername() to also support adding use...
  test 9495 almost 9 years Jing Tao The getPackage method should throw an exception...
LICENSE 17.7 KB 666 almost 24 years Matt Jones Modified the license and copyright terms for ma...
README 35.9 KB 9416 about 9 years ben leinfelder merge from 2.5 branch
build.properties 2.79 KB 9451 about 9 years Jing Tao Change the version to 2.6.0
build.sh 1.03 KB 670 almost 24 years Matt Jones Updated build files with minor documentation ch...
build.xml 62.3 KB 9476 almost 9 years Jing Tao In the clean method, the metacatui build direct...
pom.xml 10.8 KB 9419 about 9 years ben leinfelder bump trunk to 2.6.0-SNAPSHOT and pull in d1 dep...
workflowscheduler.build.xml 16.3 KB 6053 over 13 years ben leinfelder remove very old "metacat webservice" code - as ...
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

Latest revisions

# Date Author Comment
9536 02/26/2016 08:42 AM Chris Jones

Change getUsername() to also support adding usernames into an EML access element from the authentication token's 'sub' claim.
Also, add a bit of debugging output for tracing the flow of the XML generation.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9535 02/26/2016 08:34 AM Chris Jones

Modify the Metacat.pm upload() method to use the correct Content-Type for the form. RFC 2388 specifies that the Content-Type should be "multipart/form-data", and that the Content-Disposition should be "form-data", along with the "name" parameter.

9534 02/25/2016 04:29 PM Chris Jones

Also handle authentication tokens when uploading data (action=upload) by using Ben's RequestUtil.getSessionData() changes.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/43

9533 02/25/2016 08:33 AM Chris Jones

dd the hasValidAuthToken() method to determine if the current token (if any) is valid. Use this and validateSession() within the script to determine if we need to call Metacat->login() or not. Add some minor debugging to work through the code stages using auth tokens....

9532 02/23/2016 11:39 AM Chris Jones

Fix a couple of syntax issues.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9531 02/23/2016 11:13 AM Chris Jones

Don't forget to set the token variable from the HTTP_AUTHORIZATION environment variable.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9530 02/23/2016 10:19 AM Chris Jones

Add a setAuthToken() method. when the HTTP_AUTHORIZATION environment variable is set, set the value as the `auth_token_header` instance variable in the Metacat instance passed in. This requires that the Apache installation includes an HTTP rewrite rule to pass the header on to an CGI processing the request. Call this method whenever we instantiate a Metacat object....

9529 02/23/2016 10:07 AM Chris Jones

Modify the Metacat.pm sendData() method to include the Authorization HTTP header when it's available as an instance variable.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/41

9528 02/19/2016 05:25 PM Jing Tao

Add a new chechsum for the new solr schema.

9527 02/19/2016 03:41 PM Jing Tao

Add beans for the iso index.

View all revisions | View revisions

Also available in: Atom