|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilWebAccessChecker. More...
Collaboration diagram for ilWebAccessChecker:Public Member Functions | |
| __construct ($path, ilWACCookieInterface $ilWACCookieInterface=null, ilWACHeaderInterface $ilWACHeaderInterface=null) | |
| ilWebAccessChecker constructor. More... | |
| check () | |
| initILIAS () | |
| isChecked () | |
| setChecked ($checked) | |
| getPathObject () | |
| setPathObject ($path_object) | |
| getDisposition () | |
| setDisposition ($disposition) | |
| getOverrideMimetype () | |
| setOverrideMimetype ($override_mimetype) | |
| isInitialized () | |
| setInitialized ($initialized) | |
| isSendStatusCode () | |
| setSendStatusCode ($send_status_code) | |
| isRevalidateFolderTokens () | |
| setRevalidateFolderTokens ($revalidate_folder_tokens) | |
| getCookie () | |
| setCookie ($cookie) | |
| getAppliedCheckingMethods () | |
| setAppliedCheckingMethods ($applied_checking_methods) | |
| getHeader () | |
| setHeader ($header) | |
Static Public Member Functions | |
| static | isDEBUG () |
| static | setDEBUG ($DEBUG) |
| static | isUseSeperateLogfile () |
| static | setUseSeperateLogfile ($use_seperate_logfile) |
Data Fields | |
| const | DISPOSITION = 'disposition' |
| const | STATUS_CODE = 'status_code' |
| const | REVALIDATE = 'revalidate' |
| const | CM_FILE_TOKEN = 1 |
| const | CM_FOLDER_TOKEN = 2 |
| const | CM_CHECKINGINSTANCE = 3 |
| const | CM_SECFOLDER = 4 |
Protected Member Functions | |
| sendHeader ($message) | |
| checkPublicSection () | |
| checkUser () | |
| addAppliedCheckingMethod ($method) | |
| isRequestNotFromLoginPage () | |
Protected Attributes | |
| $path_object = null | |
| $checked = false | |
| $disposition = ilFileDelivery::DISP_INLINE | |
| $override_mimetype = '' | |
| $send_status_code = false | |
| $initialized = false | |
| $revalidate_folder_tokens = true | |
| $cookie = null | |
| $header = null | |
| $applied_checking_methods = array() | |
Static Protected Attributes | |
| static | $DEBUG = false |
| static | $use_seperate_logfile = false |
| ilWebAccessChecker::__construct | ( | $path, | |
| ilWACCookieInterface | $ilWACCookieInterface = null, |
||
| ilWACHeaderInterface | $ilWACHeaderInterface = null |
||
| ) |
ilWebAccessChecker constructor.
| $path | ||
| \ilWACCookieInterface | null | $ilWACCookieInterface |
Definition at line 82 of file class.ilWebAccessChecker.php.
References $path, setCookie(), setHeader(), and setPathObject().
Here is the call graph for this function:
|
protected |
| int | $method |
Definition at line 416 of file class.ilWebAccessChecker.php.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::check | ( | ) |
| ilWACException |
Definition at line 93 of file class.ilWebAccessChecker.php.
References addAppliedCheckingMethod(), ilWACException\CODE_NO_PATH, ilWACLog\getInstance(), getPathObject(), initILIAS(), isRevalidateFolderTokens(), sendHeader(), and setChecked().
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 211 of file class.ilWebAccessChecker.php.
References $DIC, ilWACException\ACCESS_DENIED_NO_PUB, and isRequestNotFromLoginPage().
Referenced by initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 225 of file class.ilWebAccessChecker.php.
References $DIC, ilWACException\ACCESS_DENIED_NO_LOGIN, and isRequestNotFromLoginPage().
Referenced by initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::getAppliedCheckingMethods | ( | ) |
Definition at line 400 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::getCookie | ( | ) |
Definition at line 384 of file class.ilWebAccessChecker.php.
References $cookie.
| ilWebAccessChecker::getDisposition | ( | ) |
Definition at line 272 of file class.ilWebAccessChecker.php.
References $disposition.
Referenced by ilWebAccessCheckerDelivery\deliver(), ilWebAccessCheckerDelivery\deliverDummyImage(), and ilWebAccessCheckerDelivery\deliverDummyVideo().
Here is the caller graph for this function:| ilWebAccessChecker::getHeader | ( | ) |
Definition at line 424 of file class.ilWebAccessChecker.php.
References $header.
Referenced by sendHeader().
Here is the caller graph for this function:| ilWebAccessChecker::getOverrideMimetype | ( | ) |
Definition at line 288 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::getPathObject | ( | ) |
Definition at line 256 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by check(), ilWebAccessCheckerDelivery\deliver(), ilWebAccessCheckerDelivery\deliverDummyImage(), ilWebAccessCheckerDelivery\deliverDummyVideo(), ilWebAccessCheckerDelivery\handleAccessErrors(), and initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::initILIAS | ( | ) |
Definition at line 183 of file class.ilWebAccessChecker.php.
References $GLOBALS, ilWACException\ACCESS_DENIED_NO_LOGIN, checkPublicSection(), checkUser(), ilContext\CONTEXT_WAC, ilWACLog\getInstance(), getPathObject(), ilContext\init(), ilInitialisation\initILIAS(), isInitialized(), and setInitialized().
Referenced by check(), and ilWebAccessCheckerDelivery\handleAccessErrors().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::isChecked | ( | ) |
Definition at line 240 of file class.ilWebAccessChecker.php.
References $checked.
Referenced by ilWebAccessCheckerDelivery\deliver(), and ilWebAccessCheckerDelivery\deny().
Here is the caller graph for this function:
|
static |
Definition at line 352 of file class.ilWebAccessChecker.php.
References $DEBUG.
Referenced by ilWACLog\getInstance(), ilWACToken\isDEBUG(), and ilWACTokenTest\testSomeBasics().
Here is the caller graph for this function:| ilWebAccessChecker::isInitialized | ( | ) |
Definition at line 304 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:
|
protected |
Definition at line 459 of file class.ilWebAccessChecker.php.
References $_SERVER.
Referenced by checkPublicSection(), and checkUser().
Here is the caller graph for this function:| ilWebAccessChecker::isRevalidateFolderTokens | ( | ) |
Definition at line 336 of file class.ilWebAccessChecker.php.
References $revalidate_folder_tokens.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::isSendStatusCode | ( | ) |
Definition at line 320 of file class.ilWebAccessChecker.php.
References $send_status_code.
Referenced by ilWebAccessCheckerDelivery\handleAccessErrors().
Here is the caller graph for this function:
|
static |
Definition at line 368 of file class.ilWebAccessChecker.php.
References $use_seperate_logfile.
Referenced by ilWACLog\getInstance().
Here is the caller graph for this function:
|
protected |
| $message |
Definition at line 174 of file class.ilWebAccessChecker.php.
References getHeader().
Referenced by check().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::setAppliedCheckingMethods | ( | $applied_checking_methods | ) |
| array | $applied_checking_methods |
Definition at line 408 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::setChecked | ( | $checked | ) |
| boolean | $checked |
Definition at line 248 of file class.ilWebAccessChecker.php.
References $checked.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::setCookie | ( | $cookie | ) |
| \ilWACCookieInterface | $cookie |
Definition at line 392 of file class.ilWebAccessChecker.php.
References $cookie.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
| boolean | $DEBUG |
Definition at line 360 of file class.ilWebAccessChecker.php.
References $DEBUG.
Referenced by ilWACTokenTest\testCookieGeneration(), ilWACCheckingInstanceTest\testNonCheckingInstanceNoSec(), and ilWACTokenTest\testTokenGeneration().
Here is the caller graph for this function:| ilWebAccessChecker::setDisposition | ( | $disposition | ) |
| string | $disposition |
Definition at line 280 of file class.ilWebAccessChecker.php.
References $disposition.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:| ilWebAccessChecker::setHeader | ( | $header | ) |
| \ilWACHeaderInterface | $header |
Definition at line 432 of file class.ilWebAccessChecker.php.
References $header.
Referenced by __construct().
Here is the caller graph for this function:| ilWebAccessChecker::setInitialized | ( | $initialized | ) |
| boolean | $initialized |
Definition at line 312 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::setOverrideMimetype | ( | $override_mimetype | ) |
| string | $override_mimetype |
Definition at line 296 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::setPathObject | ( | $path_object | ) |
| ilWACPath | $path_object |
Definition at line 264 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by __construct().
Here is the caller graph for this function:| ilWebAccessChecker::setRevalidateFolderTokens | ( | $revalidate_folder_tokens | ) |
| boolean | $revalidate_folder_tokens |
Definition at line 344 of file class.ilWebAccessChecker.php.
References $revalidate_folder_tokens.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:| ilWebAccessChecker::setSendStatusCode | ( | $send_status_code | ) |
| boolean | $send_status_code |
Definition at line 328 of file class.ilWebAccessChecker.php.
References $send_status_code.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:
|
static |
| boolean | $use_seperate_logfile |
Definition at line 376 of file class.ilWebAccessChecker.php.
References $use_seperate_logfile.
|
protected |
Definition at line 73 of file class.ilWebAccessChecker.php.
Referenced by getAppliedCheckingMethods(), and setAppliedCheckingMethods().
|
protected |
Definition at line 33 of file class.ilWebAccessChecker.php.
Referenced by isChecked(), and setChecked().
|
protected |
Definition at line 65 of file class.ilWebAccessChecker.php.
Referenced by getCookie(), and setCookie().
|
staticprotected |
Definition at line 57 of file class.ilWebAccessChecker.php.
Referenced by isDEBUG(), and setDEBUG().
|
protected |
Definition at line 37 of file class.ilWebAccessChecker.php.
Referenced by getDisposition(), and setDisposition().
|
protected |
Definition at line 69 of file class.ilWebAccessChecker.php.
Referenced by getHeader(), and setHeader().
|
protected |
Definition at line 49 of file class.ilWebAccessChecker.php.
Referenced by isInitialized(), and setInitialized().
|
protected |
Definition at line 41 of file class.ilWebAccessChecker.php.
Referenced by getOverrideMimetype(), and setOverrideMimetype().
|
protected |
Definition at line 29 of file class.ilWebAccessChecker.php.
Referenced by getPathObject(), and setPathObject().
|
protected |
Definition at line 53 of file class.ilWebAccessChecker.php.
Referenced by isRevalidateFolderTokens(), and setRevalidateFolderTokens().
|
protected |
Definition at line 45 of file class.ilWebAccessChecker.php.
Referenced by isSendStatusCode(), and setSendStatusCode().
|
staticprotected |
Definition at line 61 of file class.ilWebAccessChecker.php.
Referenced by isUseSeperateLogfile(), and setUseSeperateLogfile().
| const ilWebAccessChecker::CM_CHECKINGINSTANCE = 3 |
Definition at line 24 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FILE_TOKEN = 1 |
Definition at line 22 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FOLDER_TOKEN = 2 |
Definition at line 23 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_SECFOLDER = 4 |
Definition at line 25 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::DISPOSITION = 'disposition' |
Definition at line 19 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::REVALIDATE = 'revalidate' |
Definition at line 21 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::STATUS_CODE = 'status_code' |
Definition at line 20 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().