Project

General

Profile

Activity

From 01/30/2016 to 02/28/2016

02/26/2016

03:47 PM Revision 9537 (metacat): 1. Set knb to version 2.
2. Centralize the lter tests into one class. Jing Tao
08:42 AM Revision 9536 (metacat): 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/K...
Chris Jones
08:34 AM Revision 9535 (metacat): 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.
Chris Jones

02/25/2016

04:29 PM Revision 9534 (metacat): 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 Chris Jones
08:33 AM Revision 9533 (metacat): 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.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42 Chris Jones

02/23/2016

11:39 AM Revision 9532 (metacat): Fix a couple of syntax issues.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42 Chris Jones
11:13 AM Revision 9531 (metacat): 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 Chris Jones
10:19 AM Revision 9530 (metacat): 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.
Also, add two methods that will be used for parsing the JWT authentication token: getSigningCertificate() and getToke... Chris Jones
10:07 AM Revision 9529 (metacat): 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 Chris Jones

02/19/2016

05:25 PM Revision 9528 (metacat): Add a new chechsum for the new solr schema.
Jing Tao
03:41 PM Revision 9527 (metacat): Add beans for the iso index.
Jing Tao
03:40 PM Revision 9526 (metacat): Add a bean file for the iso index.
Jing Tao
03:39 PM Revision 9525 (metacat): Add a bean file for the iso index.
Jing Tao
03:34 PM Revision 9524 (metacat): Add more fields for the iso index.
Jing Tao
12:32 PM Revision 9523 (metacat): In the isScienceMetacata method, the ServiceFailure exception shouldn't be caught anymore, since the code doesn't throw it.
Jing Tao
12:04 PM Revision 9522 (metacat): Change its mime type from binary to text.
Jing Tao

02/16/2016

08:41 AM Revision 9521 (metacat): In order to access the JWT authentication token, we need to configure the Apache installation to pass the Authorization header on to CGI scripts. Do this with mod_rewrite.
refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42 Chris Jones

02/09/2016

05:14 PM Revision 9520 (metacat): allow Metacat API calls to be made by clients providing their identity with a DataONE auth token. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/43
ben leinfelder

02/05/2016

11:54 AM Revision 9518 (metacat): comment out (duplicate) EML download link since it does not apply in the CN context and the same functionality exists elsewhere in the MetacatUI rendering. https://redmine.dataone.org/issues/7639
ben leinfelder

02/03/2016

02:04 PM Revision 9515 (metacat): Removed the sepcified path for the ldap ca file.
Jing Tao
09:55 AM Revision 9514 (metacat): If the user doesn's specify the ldap ca file path on the metacat.properties, it will use the default one.
Jing Tao
 

Also available in: Atom