summaryrefslogtreecommitdiffstats
path: root/src/token_authorization_middleware_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bmcweb: Remove deprecatd ASIO interfacesEd Tanous2019-01-121-7/+7
| | | | | | | | | | | boost::asio::io_service is removed in leiu of io_context, which is a closer match to the networking TS. Move us to that implementatio. This was an automated move using the following command: git grep -l 'io_service' | xargs sed -i 's/io_service/io_context/g' Change-Id: I46605521c01f79f86f6901ddf69ddc8c4bc24103 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Move to clang-format-6.0Ed Tanous2018-09-051-246/+281
| | | | | | | | This commit moves the codebase to the lastest clang-format file from upstream, as well as clang-format-6.0. Change-Id: Ice8313468097c0c42317fbb9e10ddf036e8cff4c Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Move over to upstream c++ styleEd Tanous2018-07-261-10/+10
| | | | | | | | | | | | | | | | | | This patchset moves bmcweb over to the upstream style naming conventions for variables, classes, and functions, as well as imposes the latest clang-format file. This changeset was mostly built automatically by the included .clang-tidy file, which has the ability to autoformat and auto rename variables. At some point in the future I would like to see this in greater use, but for now, we will impose it on bmcweb, and see how it goes. Tested: Code still compiles, and appears to run, although other issues are possible and likely. Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Make SessionStore a proper singletonBorawski.Lukasz2018-07-251-14/+33
| | | | | | | | | | | | | | | - 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>
* Boost beastEd Tanous2018-06-291-5/+5
| | | | | | | | This commit is the beginings of attempting to transition away from crow, and toward boost::beast. Unit tests are passing, and implementation appears to be slightly faster than crow. Change-Id: Ic8d946dc7a04f514c67b1098f181eee1ced69171
* Update WebserverEd Tanous2017-10-241-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | Upate get_routes to use the correct constness for its use case crow to set json_mode if json value is populated Delete std::array bytes API due to major efficiency issues. To be replaced with span API in near future Implement a catch block for handlers that can throw exceptions Implement direct handling of routes that end with / to better support redfish. /foo and /foo/ now invoke the same handler insead of issuing a 301 redirect Update nlohmann to latest version Implement one nlohmann endpoint with exceptions disabled Implement first pass at a IBM style rest-dbus interface Fix pam authentication to call dropbear auth methods Implements first pass at redfish interface. Shemas avaialble pass redfish validation 100% Use response json object rather than request json object. Update authorization middleware to be redfish compliant UPdate random token generation to be more efficient, and not base64 bytes, generate bytes directly Change-Id: I63cc2005c1a21f5c2f5168777a4e09f3c965a34f
* Large updates to webserverEd Tanous2017-10-111-7/+5
| | | | | | Do not merge yet Change-Id: I38c56844c1b0e3e8e5493c2705e62e6db7ee2102
* incrementalEd Tanous2017-06-221-7/+10
|
* incrementalEd Tanous2017-06-121-3/+10
|
* incrementalEd Tanous2017-04-241-1/+1
|
* incrementalEd Tanous2017-04-181-4/+2
|
* Make app middlewares not require specific instances of appEd Tanous2017-04-051-5/+5
|
* Add route printerEd Tanous2017-04-041-2/+23
|
* add more testing for auth middlewareEd Tanous2017-04-031-57/+216
|
* Move crow to its own repoEd Tanous2017-04-031-1/+1
|
* incrementalEd Tanous2017-04-031-18/+71
|
* clang-formatEd Tanous2017-03-031-20/+16
|
* incrementalEd Tanous2017-03-021-0/+2
|
* incrementalEd Tanous2017-02-281-0/+26
OpenPOWER on IntegriCloud