diff options
author | Borawski.Lukasz <lukasz.borawski@intel.com> | 2018-04-04 12:50:16 +0200 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-07-25 10:29:23 -0700 |
commit | 4b1b8683d31260b3032bb9f9fcde1eadaed4e1e5 (patch) | |
tree | e42eb626b813a24db19bb8ed58709faa10e475b1 /include/webserver_common.hpp | |
parent | eb547730ed7f37a1d7c36d9785f6b0722cb8ef3d (diff) | |
download | bmcweb-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.hpp | 2 |
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>; - |