summaryrefslogtreecommitdiffstats
path: root/include/webserver_common.hpp
diff options
context:
space:
mode:
authorBorawski.Lukasz <lukasz.borawski@intel.com>2018-04-04 12:50:16 +0200
committerEd Tanous <ed.tanous@intel.com>2018-07-25 10:29:23 -0700
commit4b1b8683d31260b3032bb9f9fcde1eadaed4e1e5 (patch)
treee42eb626b813a24db19bb8ed58709faa10e475b1 /include/webserver_common.hpp
parenteb547730ed7f37a1d7c36d9785f6b0722cb8ef3d (diff)
downloadbmcweb-4b1b8683d31260b3032bb9f9fcde1eadaed4e1e5.tar.gz
bmcweb-4b1b8683d31260b3032bb9f9fcde1eadaed4e1e5.zip
Make SessionStore a proper singleton
- SessionStore class now has a proper singleton structure - session_storage_singleton.hpp is removed - from_json(..) function for SessionStore is changed to a specialized template - minor cosmetic fixes added - Move the template class usages of Crow App over to a non-template parameter Change-Id: Ic9effd5b7bac089a84c80a0caa97bd46d4984416 Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com> Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'include/webserver_common.hpp')
-rw-r--r--include/webserver_common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/webserver_common.hpp b/include/webserver_common.hpp
index 1ba091b..4d88629 100644
--- a/include/webserver_common.hpp
+++ b/include/webserver_common.hpp
@@ -15,6 +15,7 @@
*/
#pragma once
+#include "security_headers_middleware.hpp"
#include "token_authorization_middleware.hpp"
#include "security_headers_middleware.hpp"
#include "webserver_common.hpp"
@@ -22,4 +23,3 @@
using CrowApp = crow::App<crow::PersistentData::Middleware,
crow::TokenAuthorization::Middleware,
crow::SecurityHeadersMiddleware>;
-
OpenPOWER on IntegriCloud