changeset 3494:e0e9df6e5c92

AuthenticationEnabled
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Aug 2019 10:59:10 +0200
parents c465c6ee2bfb
children cc3e408165eb
files OrthancServer/main.cpp Resources/Configuration.json
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Mon Aug 19 10:18:04 2019 +0200
+++ b/OrthancServer/main.cpp	Mon Aug 19 10:59:10 2019 +0200
@@ -821,7 +821,7 @@
       httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false));
       httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", defaultKeepAlive));
       httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true));
-      httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false));
+      httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", true));
       httpServer.SetTcpNoDelay(lock.GetConfiguration().GetBooleanParameter("TcpNoDelay", true));
 
       lock.GetConfiguration().SetupRegisteredUsers(httpServer);
--- a/Resources/Configuration.json	Mon Aug 19 10:18:04 2019 +0200
+++ b/Resources/Configuration.json	Mon Aug 19 10:59:10 2019 +0200
@@ -150,7 +150,7 @@
   "SslCertificate" : "certificate.pem",
 
   // Whether or not the password protection is enabled
-  "AuthenticationEnabled" : false,
+  "AuthenticationEnabled" : true,
 
   // The list of the registered users. Because Orthanc uses HTTP
   // Basic Authentication, the passwords are stored as plain text.