Remove often-wrong "Orex" from page title.
authorMike Taylor <mike@indexdata.com>
Wed, 6 Aug 2014 15:51:45 +0000 (16:51 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 6 Aug 2014 15:51:45 +0000 (16:51 +0100)
Remove explicit credentials from authentication URL.
Add an mkwsAuthname widget.

examples/htdocs/mike.html

index 86b5852..cfc4f89 100644 (file)
@@ -1,12 +1,13 @@
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title>MKWS demo: Orex</title>
+    <title>MKWS demo</title>
     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
     <script type="text/javascript">
       var mkws_config = {
        pazpar2_url:        "//sp-mkws.indexdata.com/service-proxy/",
-       service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=perconfig&username=Xorex&password=orexmkc"
+       service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy/?command=auth&action=perconfig"
+        // For explicit credential-based authentication, add: &username=orex&password=orexmkc
       };
     </script>
     <script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
@@ -29,6 +30,7 @@
     <script type="text/javascript" src="mkws-widget-credo.js"></script>
   </head>
   <body>
+    <div class="mkwsAuthname"></div>
     <div class="mkwsSwitch"></div>
     <div class="mkwsLang"></div>
     <div class="mkwsProgress"></div>