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.
- 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... - 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.
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
- 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
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
- 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
- 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...
- 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
02/19/2016
- 05:25 PM Revision 9528 (metacat): Add a new chechsum for the new solr schema.
- 03:41 PM Revision 9527 (metacat): Add beans for the iso index.
- 03:40 PM Revision 9526 (metacat): Add a bean file for the iso index.
- 03:39 PM Revision 9525 (metacat): Add a bean file for the iso index.
- 03:34 PM Revision 9524 (metacat): Add more fields for the iso index.
- 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.
- 12:04 PM Revision 9522 (metacat): Change its mime type from binary to text.
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
02/09/2016
02/05/2016
02/03/2016
Also available in: Atom