index.php File Reference
Entry point of a query for the Auth Validator web service. More...
Go to the source code of this file.
Variables | |
| $ip = "" | |
| if(isset($_POST['ip'])) | $datasets = "" |
| if(isset($_POST['datasets'])) | $ws_uri = "" |
| if(isset($_POST['ws_uri'])) | $mtime = microtime() |
| $starttime = $mtime | |
| $start_datetime = date("Y-m-d h:i:s") | |
| $requester_ip = "0.0.0.0" | |
| if(isset($_SERVER['REMOTE_ADDR'])) | $parameters = "" |
| if(isset($_SERVER['REQUEST_URI'])) elseif(isset($_SERVER['PHP_SELF'])) | $ws_av = new AuthValidator($ip, $datasets, $ws_uri) |
| $endtime = $mtime | |
| $totaltime = ($endtime - $starttime) | |
| $logger | |
Detailed Description
Entry point of a query for the Auth Validator web service./
Each time a query is sent to this web service, this index.php script will create the web service class and will process it. The resultset, or error, will be returned to the user in the HTTP header & body query.
Definition in file auth/validator/index.php.
Variable Documentation
| if (isset($_POST['ip'])) $datasets = "" |
Definition at line 49 of file auth/validator/index.php.
Referenced by CrudRead::pipeline_serialize(), DatasetRead::process(), CrudRead::process(), AuthValidator::process(), CrudRead::validateQuery(), and CrudRead::ws_conneg().
| $endtime = $mtime |
Definition at line 108 of file auth/validator/index.php.
| $ip = "" |
Definition at line 41 of file auth/validator/index.php.
| $logger |
Initial value:
new Logger("auth_validator", $requester_ip, "?ip=" . $ip . "&datasets=" . $datasets . "&ws_uri=" . $ws_uri, $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime, $ws_av->pipeline_getResponseHeaderStatus(), $_SERVER['HTTP_USER_AGENT'])
Definition at line 111 of file auth/validator/index.php.
| $mtime = microtime() |
Definition at line 64 of file auth/validator/index.php.
| if (isset($_SERVER['REMOTE_ADDR'])) $parameters = "" |
Definition at line 78 of file auth/validator/index.php.
| $requester_ip = "0.0.0.0" |
Definition at line 71 of file auth/validator/index.php.
| $start_datetime = date("Y-m-d h:i:s") |
Definition at line 69 of file auth/validator/index.php.
| $starttime = $mtime |
Definition at line 67 of file auth/validator/index.php.
| $totaltime = ($endtime - $starttime) |
Definition at line 109 of file auth/validator/index.php.
| if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_av = new AuthValidator($ip, $datasets, $ws_uri) |
Definition at line 96 of file auth/validator/index.php.
Referenced by Sparql::process(), Sparql::validateQuery(), OntologyCreate::validateQuery(), DatasetUpdate::validateQuery(), DatasetRead::validateQuery(), DatasetDelete::validateQuery(), DatasetCreate::validateQuery(), CrudUpdate::validateQuery(), CrudRead::validateQuery(), CrudDelete::validateQuery(), CrudCreate::validateQuery(), AuthRegistrarWs::validateQuery(), AuthRegistrarAccess::validateQuery(), AuthLister::validateQuery(), and CrudDelete::ws_conneg().
| if (isset($_POST['datasets'])) $ws_uri = "" |
Definition at line 57 of file auth/validator/index.php.
