commit | 0d4197e0b9262b21e20d79456ef148407cb52791 | [log] [tgz] |
---|---|---|
author | anil kumar appana <anil.kumarx.appana@intel.com> | Thu Jun 13 15:06:23 2019 +0000 |
committer | anil.kumarx.appana <anil.kumarx.appana@intel.com> | Thu Nov 07 17:08:23 2019 +0000 |
tree | 2dcdb52ad928690ab695a77d286a9ae5285ef29f | |
parent | 78158631aeab5b77ea9a5f566508285cb839fadf [diff] |
account_service:redfish user creation err handling Modified POST method to handle redfish user creation error codes. Tested: Tested user creation with below test cases 1)Already user exists 2)Max users reached 3)Username is NULL 4)Username is not starting with alphabet 5)Username exceed more than 16 characters 6)Invalid Password Redfish validator test results: Passed Signed-off-by: anil kumar appana <anil.kumarx.appana@intel.com> Change-Id: I58361ddd4dfd067802f805f9d870b2bc1692ea1d
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the prime256v1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.