# HG changeset patch # User Sebastien Jodogne # Date 1619697551 -7200 # Node ID 9062c9c464f5b7aef38cb8ce812cabd56fed3cfe # Parent 7fbe9147423f3351c09e6dd5b6c525bfd87b82d3 HttpHeaders in the definition of DICOMweb servers diff -r 7fbe9147423f -r 9062c9c464f5 Sphinx/source/plugins/dicomweb.rst --- 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 `__ (this feature is only available is the core of Orthanc was compiled with the ``-DENABLE_PKCS11=ON`` option in CMake, and if the Orthanc