Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  Metacat 9535 over 8 years Chris Jones Modify the Metacat.pm upload() method to use th...
  control-services 2675 about 19 years Matt Jones Removed unused subroutines that were for testing.
  create-registry 2800 almost 19 years sgarg Added new variables to the script which creates...
cache_eml_data.pl 8.26 KB 3762 over 16 years Matt Jones Fixes to record sies of ecogrid files, and to f...
change-ldap-passwd.pl 3.24 KB 2499 over 19 years sgarg Adding perl script for changing ldap password f...
create-ldap-account.pl 11.1 KB 2341 almost 20 years sgarg Integrating ldapweb.cgi & create-ldap-account.p...
docid-for-binaries.txt 792 KB 4722 almost 16 years walbridge Add script for converting documents with docnam...
eml_get_objectnames.pl 4.65 KB 4722 almost 16 years walbridge Add script for converting documents with docnam...
get_eml.pl 4.58 KB 2638 about 19 years harris Added a function to strip out the whitespace th...
getlsid.pl 3.01 KB 2820 almost 19 years Matt Jones This is a basic commandline client for resolvin...
insert_data.pl 4.29 KB 3724 almost 17 years Matt Jones Skeleton for data insertion script. Also added ...
kruger_docids 824 Bytes 4166 over 16 years ben leinfelder initial doc id list from original conversion
ldapweb.cgi 66.7 KB 9514 almost 9 years Jing Tao If the user doesn's specify the ldap ca file pa...
list_of_docids 6.81 KB 2115 over 20 years sgarg Perl script for transfering documents from one ...
register-dataset.cgi 167 KB 9539 over 8 years Chris Jones We ended up not being able to use IO::Socket::S...
transfer_emldocs_from_metacat1_to_metacat2.pl 2.82 KB 8265 about 11 years ben leinfelder Refer to metacat.war deployments since those ar...
update_emldoc_data.pl 3.82 KB 8265 about 11 years ben leinfelder Refer to metacat.war deployments since those ar...

Latest revisions

# Date Author Comment
9539 03/02/2016 09:58 AM Chris Jones

We ended up not being able to use IO::Socket::SSL, so I removed the import statement. Also, add the new Perl module dependencies to the installation documentation.

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

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.

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

9514 02/03/2016 09:55 AM Jing Tao

If the user doesn's specify the ldap ca file path on the metacat.properties, it will use the default one.

9234 07/08/2015 05:01 PM ben leinfelder

correct logout method (old change still in workspace)

View revisions

Also available in: Atom