changeset 665:9062c9c464f5

HttpHeaders in the definition of DICOMweb servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Apr 2021 13:59:11 +0200
parents 7fbe9147423f
children 9461a56f225f
files Sphinx/source/plugins/dicomweb.rst
diffstat 1 files changed, 22 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/dicomweb.rst	Thu Apr 29 13:42:38 2021 +0200
+++ b/Sphinx/source/plugins/dicomweb.rst	Thu Apr 29 13:59:11 2021 +0200
@@ -350,8 +350,28 @@
     }
   }
 
-Finally, it is also possible to use client authentication with
-hardware security modules and smart cards through `PKCS#11
+
+The definition of a DICOMweb server can also specify the HTTP headers
+to be provided during each request to the remote DICOMweb server. This
+can for instance be useful to set authorization tokens::
+
+  {
+    [...]
+    "DicomWeb" : {
+      "Servers" : {
+        "sample" : {
+          "Url" : "http://localhost:8042/dicom-web/",
+          "HttpHeaders": {
+            "Authorization" : "Bearer HelloWorldToken"
+          }
+        }
+      }
+    }
+  }
+
+
+Finally, it is possible to use client authentication with hardware
+security modules and smart cards through `PKCS#11
 <https://en.wikipedia.org/wiki/PKCS_11>`__ (this feature is only
 available is the core of Orthanc was compiled with the
 ``-DENABLE_PKCS11=ON`` option in CMake, and if the Orthanc