From 2ff7d728829b536e2379dd6f9dc4fce701acda89 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 20 Jun 2013 13:29:57 +0000 Subject: [PATCH] configurable service proxy auth URL --- experiments/spclient/mkws.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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!"); }) -- 1.7.10.4