NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
26 stars 12 forks source link

Authentication service in Ecogrid only access metacat through http connection #1031

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: Jing Tao (Jing Tao) Original Redmine Issue: 6518, https://projects.ecoinformatics.org/ecoinfo/issues/6518 Original Date: 2014-04-15 Original Assignee: Jing Tao


In https://code.ecoinformatics.org/code/seek/trunk/projects/ecogrid/src/org/ecoinformatics/ecogrid/metacat/auth/MetacatAuthImpl.java class, it only accesses metacat through a http connection. If metacat doesn't have one, the login will fail.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2014-04-22T20:51:09Z


Using the SystemUtil.getMetacatServletUrl to replace the hard-coded "http" in authenciation, put, authenticatedQuery and identifier services. It worked right now.