comparison OrthancServer/main.cpp @ 607:b1a0990ad40c

reverting
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Oct 2013 10:32:33 +0200
parents 489f6a375277
children f27923072afd
comparison
equal deleted inserted replaced
604:489f6a375277 607:b1a0990ad40c
385 MongooseServer httpServer; 385 MongooseServer httpServer;
386 httpServer.SetPortNumber(GetGlobalIntegerParameter("HttpPort", 8042)); 386 httpServer.SetPortNumber(GetGlobalIntegerParameter("HttpPort", 8042));
387 httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false)); 387 httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false));
388 httpServer.SetIncomingHttpRequestFilter(httpFilter); 388 httpServer.SetIncomingHttpRequestFilter(httpFilter);
389 389
390 httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", true)); 390 httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", false));
391 SetupRegisteredUsers(httpServer); 391 SetupRegisteredUsers(httpServer);
392 392
393 if (GetGlobalBoolParameter("SslEnabled", false)) 393 if (GetGlobalBoolParameter("SslEnabled", false))
394 { 394 {
395 std::string certificate = 395 std::string certificate =