From: Wolfram Schneider Date: Thu, 20 Jun 2013 13:29:57 +0000 (+0000) Subject: configurable service proxy auth URL X-Git-Tag: 0.9.1~574^2~18 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=2ff7d728829b536e2379dd6f9dc4fce701acda89;p=mkws-moved-to-github.git configurable service proxy auth URL --- diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index d8f43e3..1ad3875 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -493,8 +493,11 @@ function mkws_html_perpage(config) { * The username/password is configured in the apache config file * for the site. */ -function mkws_service_proxy_auth() { - var jqxhr = jQuery.get("/service-proxy-auth") +function mkws_service_proxy_auth(auth_url) { + if (!auth_url) + auth_url = "/service-proxy-auth"; + + var jqxhr = jQuery.get(auth_url); .fail(function() { alert("service proxy authentication failed, give up!"); })