diff Resources/Configuration.json @ 24:166664f0f860

base64
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Aug 2012 10:42:43 +0200
parents 62bd05fe4b7c
children dd1489098265
line wrap: on
line diff
--- a/Resources/Configuration.json	Tue Aug 28 10:18:34 2012 +0200
+++ b/Resources/Configuration.json	Tue Aug 28 10:42:43 2012 +0200
@@ -1,20 +1,37 @@
 {
+    /**
+     * General configuration of Palantir
+     **/
+
     // Path to the directory that holds the database
     "StorageDirectory" : "PalantirStorage",
 
+
+
+    /**
+     * Configuration of the HTTP server
+     **/
+
     // HTTP port for the REST services and for the GUI
     "HttpPort" : 8000,
 
+
+
+    /**
+     * Configuration of the DICOM server
+     **/
+
     // The DICOM Application Entity Title
     "DicomAet" : "ANY-SCP",
 
     // The DICOM port
     "DicomPort" : 4242,
 
-    // The list of the DICOM modalities.
-    "DicomModalities" : {
-        // "sample" : [ "SAMPLESCP", "192.168.100.42", 104 ]
-    },
+
+
+    /**
+     * Security-related options
+     **/
 
     // Whether or not SSL is enabled
     "SslEnabled" : false,
@@ -22,6 +39,26 @@
     // Path to the SSL certificate
     "SslCertificate" : "certificate.pem",
 
+    // Whether or not the password protection is enabled
+    "AuthenticationEnabled" : true,
+
+    // The list of the registered users. Because Palantir uses HTTP
+    // Basic Authentication, the passwords are stored as plain text.
+    "RegisteredUsers" : {
+        "alice" : "alicePassword"
+    },
+
+
+    /**
+     * Network topology
+     **/
+
+    // The list of the known DICOM modalities
+    "DicomModalities" : {
+        // "sample" : [ "SAMPLESCP", "192.168.100.42", 104 ]
+    },
+
+    // The list of the known Palantir peers (currently unused)
     "PalantirPeers" : {
     }
 }