bes
Updated for version 3.20.6
|
Can a given URL be dereferenced given the BES's configuration? More...
#include <WhiteList.h>
Public Member Functions | |
bool | is_white_listed (const std::string &url) |
Static Public Member Functions | |
static WhiteList * | get_white_list () |
Static accessor for the singleton. More... | |
Can a given URL be dereferenced given the BES's configuration?
Embodies a configuration based remote access white list and provides a simple API (Is_Whitelisted()) for determining which resources may be accessed. This enables a system administrator to control the remote systems a particular BES daemon can access.
Definition at line 51 of file WhiteList.h.
|
static |
Static accessor for the singleton.
Definition at line 55 of file WhiteList.cc.
bool WhiteList::is_white_listed | ( | const std::string & | url | ) |
This method provides an access condition assessment for URLs and files to be accessed by the BES. The http and https URLs are verified against a whitelist assembled from configuration. All file URLs are checked to be sure that they reference a resource within the BES default catalog.
url | The URL to test |
Definition at line 87 of file WhiteList.cc.