#include <webdriver_access.h>
Provides IP/command whitelist functionality.
| webdriver::AccessValidator::AccessValidator |
( |
| ) |
|
| webdriver::AccessValidator::~AccessValidator |
( |
| ) |
|
| bool webdriver::AccessValidator::isAllowed |
( |
const long & |
remote_ip, |
|
|
const std::string & |
url, |
|
|
const std::string & |
method |
|
) |
| |
Check if given command is allowed for this IP
- Parameters
-
| remote_ip | origin IP to check |
| url | command url |
| method | command method |
| void webdriver::AccessValidator::setWhiteList |
( |
FilePath & |
xmlPath | ) |
|
Parse xml file with whitelist config
- Parameters
-
| xmlPath | path to whitelist xml-file |
The documentation for this class was generated from the following file: