|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilWebAccessChecker. More...
Collaboration diagram for ilWebAccessChecker:Public Member Functions | |
| __construct (Services $httpState, private CookieFactory $cookieFactory) | |
| ilWebAccessChecker constructor. More... | |
| check () | |
| initILIAS () | |
| isChecked () | |
| setChecked (bool $checked) | |
| getPathObject () | |
| setPathObject (ilWACPath $path_object) | |
| getDisposition () | |
| setDisposition (string $disposition) | |
| getOverrideMimetype () | |
| setOverrideMimetype (string $override_mimetype) | |
| isInitialized () | |
| setInitialized (bool $initialized) | |
| isSendStatusCode () | |
| setSendStatusCode (bool $send_status_code) | |
| isRevalidateFolderTokens () | |
| setRevalidateFolderTokens (bool $revalidate_folder_tokens) | |
| getAppliedCheckingMethods () | |
| setAppliedCheckingMethods (array $applied_checking_methods) | |
Static Public Member Functions | |
| static | isUseSeperateLogfile () |
| static | setUseSeperateLogfile (bool $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 (string $message) | |
| checkPublicSection () | |
| checkUser () | |
| addAppliedCheckingMethod (int $method) | |
Protected Attributes | |
| ilWACPath | $path_object = null |
| bool | $checked = false |
| string | $disposition = ilFileDelivery::DISP_INLINE |
| string | $override_mimetype = '' |
| bool | $send_status_code = false |
| bool | $initialized = false |
| bool | $revalidate_folder_tokens = true |
| array | $applied_checking_methods = [] |
Static Protected Attributes | |
| static bool | $use_seperate_logfile = false |
Private Attributes | |
| Services | $http |
| ilWACException | $ressource_not_found = null |
| ilWebAccessChecker::__construct | ( | Services | $httpState, |
| private CookieFactory | $cookieFactory | ||
| ) |
ilWebAccessChecker constructor.
Definition at line 58 of file class.ilWebAccessChecker.php.
References Vendor\Package\$e, ILIAS\FileDelivery\http(), ilWACException\NOT_FOUND, ILIAS\HTTP\Services\request(), and setPathObject().
Here is the call graph for this function:
|
protected |
Definition at line 334 of file class.ilWebAccessChecker.php.
References $DIC, ANONYMOUS_USER_ID, ilContext\CONTEXT_WAC, ilContext\init(), and ilInitialisation\reInitUser().
Referenced by check().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::check | ( | ) |
| ilWACException |
Definition at line 75 of file class.ilWebAccessChecker.php.
References $data_dir, $path, addAppliedCheckingMethod(), CLIENT_WEB_DIR, ilWACException\CODE_NO_PATH, getPathObject(), ilWACSecurePath\hasCheckingInstanceRegistered(), ILIAS\FileDelivery\http(), initILIAS(), isRevalidateFolderTokens(), ilWACException\NOT_FOUND, sendHeader(), and setChecked().
Here is the call graph for this function:
|
protected |
| ilWACException |
Definition at line 204 of file class.ilWebAccessChecker.php.
References $DIC, ilWACException\ACCESS_DENIED_NO_PUB, ANONYMOUS_USER_ID, and ILIAS\Repository\int().
Referenced by initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 227 of file class.ilWebAccessChecker.php.
References $DIC, ilWACException\ACCESS_DENIED_NO_LOGIN, and ILIAS\Repository\int().
Referenced by initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::getAppliedCheckingMethods | ( | ) |
Definition at line 321 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::getDisposition | ( | ) |
| ilWebAccessChecker::getOverrideMimetype | ( | ) |
Definition at line 268 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::getPathObject | ( | ) |
Definition at line 248 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by check(), and initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::initILIAS | ( | ) |
Definition at line 154 of file class.ilWebAccessChecker.php.
References $DIC, Vendor\Package\$e, $GLOBALS, $response, ilWACException\ACCESS_DENIED_NO_LOGIN, ANONYMOUS_USER_ID, checkPublicSection(), checkUser(), ilContext\CONTEXT_WAC, getPathObject(), ILIAS\FileDelivery\http(), ilContext\init(), ilInitialisation\initILIAS(), isInitialized(), and setInitialized().
Referenced by check().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::isChecked | ( | ) |
| ilWebAccessChecker::isInitialized | ( | ) |
Definition at line 278 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::isRevalidateFolderTokens | ( | ) |
Definition at line 298 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 288 of file class.ilWebAccessChecker.php.
References $send_status_code.
|
static |
Definition at line 308 of file class.ilWebAccessChecker.php.
|
protected |
Definition at line 148 of file class.ilWebAccessChecker.php.
References $response, and ILIAS\FileDelivery\http().
Referenced by check().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::setAppliedCheckingMethods | ( | array | $applied_checking_methods | ) |
| int[] | $applied_checking_methods |
Definition at line 329 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::setChecked | ( | bool | $checked | ) |
Definition at line 243 of file class.ilWebAccessChecker.php.
References $checked.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::setDisposition | ( | string | $disposition | ) |
| ilWebAccessChecker::setInitialized | ( | bool | $initialized | ) |
Definition at line 283 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::setOverrideMimetype | ( | string | $override_mimetype | ) |
Definition at line 273 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::setPathObject | ( | ilWACPath | $path_object | ) |
Definition at line 253 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by __construct().
Here is the caller graph for this function:| ilWebAccessChecker::setRevalidateFolderTokens | ( | bool | $revalidate_folder_tokens | ) |
Definition at line 303 of file class.ilWebAccessChecker.php.
References $revalidate_folder_tokens.
| ilWebAccessChecker::setSendStatusCode | ( | bool | $send_status_code | ) |
Definition at line 293 of file class.ilWebAccessChecker.php.
References $send_status_code.
|
static |
Definition at line 313 of file class.ilWebAccessChecker.php.
References $use_seperate_logfile.
|
protected |
Definition at line 51 of file class.ilWebAccessChecker.php.
Referenced by getAppliedCheckingMethods(), and setAppliedCheckingMethods().
|
protected |
Definition at line 41 of file class.ilWebAccessChecker.php.
Referenced by isChecked(), and setChecked().
|
protected |
Definition at line 42 of file class.ilWebAccessChecker.php.
Referenced by getDisposition(), and setDisposition().
|
private |
Definition at line 52 of file class.ilWebAccessChecker.php.
|
protected |
Definition at line 45 of file class.ilWebAccessChecker.php.
Referenced by isInitialized(), and setInitialized().
|
protected |
Definition at line 43 of file class.ilWebAccessChecker.php.
Referenced by getOverrideMimetype(), and setOverrideMimetype().
|
protected |
Definition at line 40 of file class.ilWebAccessChecker.php.
Referenced by getPathObject(), and setPathObject().
|
private |
Definition at line 53 of file class.ilWebAccessChecker.php.
|
protected |
Definition at line 46 of file class.ilWebAccessChecker.php.
Referenced by isRevalidateFolderTokens(), and setRevalidateFolderTokens().
|
protected |
Definition at line 44 of file class.ilWebAccessChecker.php.
Referenced by isSendStatusCode(), and setSendStatusCode().
|
staticprotected |
Definition at line 47 of file class.ilWebAccessChecker.php.
Referenced by setUseSeperateLogfile().
| const ilWebAccessChecker::CM_CHECKINGINSTANCE = 3 |
Definition at line 37 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FILE_TOKEN = 1 |
Definition at line 35 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FOLDER_TOKEN = 2 |
Definition at line 36 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_SECFOLDER = 4 |
Definition at line 38 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::DISPOSITION = 'disposition' |
Definition at line 32 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::REVALIDATE = 'revalidate' |
Definition at line 34 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::STATUS_CODE = 'status_code' |
Definition at line 33 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().