Provide the infrastructure to whitelist given URL from REST server

Added a plug-in which runs on each request and checks if the requested
URL consists of whitelisted URL, if so, allows the access, otherwise
fails with an error message.

It gets whitelisted URL info from json file.

Resolves openbmc/openbmc#2378

Change-Id: I95e5fd080e03616a1cba2b86d951414669338b08
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
1 file changed
tree: fffa5141620b773f46b0fd7bd40fbf54795c6d74
  1. module/
  2. servers/
  3. LICENSE
  4. MAINTAINERS