|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilHTTPS:Public Member Functions | |
| __construct () | |
| isDetected () | |
| check if https is detected More... | |
| checkHTTPS (int $port=443) | |
| enableSecureCookies () | |
| checkProtocolAndRedirectIfNeeded () | |
Data Fields | |
| const | SETTINGS_GROUP_SERVER = 'server' |
| const | SETTING_HTTP_PATH = 'http_path' |
| const | SETTINGS_GROUP_HTTPS = 'https' |
| const | SETTING_AUTO_HTTPS_DETECT_ENABLED = "auto_https_detect_enabled" |
| const | SETTING_AUTO_HTTPS_DETECT_HEADER_NAME = "auto_https_detect_header_name" |
| const | SETTING_AUTO_HTTPS_DETECT_HEADER_VALUE = "auto_https_detect_header_value" |
| const | SETTING_FORCED = 'forced' |
Protected Attributes | |
| const | PROTOCOL_HTTP = 1 |
| const | PROTOCOL_HTTPS = 2 |
| bool | $enabled = false |
| array | $protected_classes = [] |
| array | $protected_scripts = [] |
| bool | $automatic_detection = false |
| string | $header_name = null |
| string | $header_value = null |
| ilIniFile | $ilias_ini |
| ilIniFile | $client_ini |
Private Member Functions | |
| readProtectedScripts () | |
| readProtectedClasses () | |
| shouldSwitchProtocol ($to_protocol) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilHTTPS
Definition at line 25 of file class.ilHTTPS.php.
| ilHTTPS::__construct | ( | ) |
Definition at line 45 of file class.ilHTTPS.php.
References $DIC, readProtectedClasses(), and readProtectedScripts().
Here is the call graph for this function:| ilHTTPS::checkHTTPS | ( | int | $port = 443 | ) |
Definition at line 116 of file class.ilHTTPS.php.
References $_SERVER.
| ilHTTPS::checkProtocolAndRedirectIfNeeded | ( | ) |
Definition at line 144 of file class.ilHTTPS.php.
References $_SERVER, exit, and shouldSwitchProtocol().
Here is the call graph for this function:| ilHTTPS::enableSecureCookies | ( | ) |
Definition at line 125 of file class.ilHTTPS.php.
References IL_COOKIE_PATH, and isDetected().
Here is the call graph for this function:| ilHTTPS::isDetected | ( | ) |
check if https is detected
Definition at line 88 of file class.ilHTTPS.php.
References $_SERVER, and $header_name.
Referenced by enableSecureCookies().
Here is the caller graph for this function:
|
private |
Definition at line 109 of file class.ilHTTPS.php.
Referenced by __construct().
Here is the caller graph for this function:
|
private |
Definition at line 74 of file class.ilHTTPS.php.
Referenced by __construct().
Here is the caller graph for this function:
|
private |
Definition at line 160 of file class.ilHTTPS.php.
References $_GET, $_SERVER, PROTOCOL_HTTP, and PROTOCOL_HTTPS.
Referenced by checkProtocolAndRedirectIfNeeded().
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilHTTPS.php.
|
protected |
Definition at line 43 of file class.ilHTTPS.php.
|
protected |
Definition at line 36 of file class.ilHTTPS.php.
|
protected |
Definition at line 40 of file class.ilHTTPS.php.
Referenced by isDetected().
|
protected |
Definition at line 41 of file class.ilHTTPS.php.
|
protected |
Definition at line 42 of file class.ilHTTPS.php.
|
protected |
Definition at line 37 of file class.ilHTTPS.php.
|
protected |
Definition at line 38 of file class.ilHTTPS.php.
|
protected |
Definition at line 27 of file class.ilHTTPS.php.
Referenced by shouldSwitchProtocol().
|
protected |
Definition at line 28 of file class.ilHTTPS.php.
Referenced by shouldSwitchProtocol().
| const ilHTTPS::SETTING_AUTO_HTTPS_DETECT_ENABLED = "auto_https_detect_enabled" |
Definition at line 32 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTING_AUTO_HTTPS_DETECT_HEADER_NAME = "auto_https_detect_header_name" |
Definition at line 33 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTING_AUTO_HTTPS_DETECT_HEADER_VALUE = "auto_https_detect_header_value" |
Definition at line 34 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTING_FORCED = 'forced' |
Definition at line 35 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTING_HTTP_PATH = 'http_path' |
Definition at line 30 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTINGS_GROUP_HTTPS = 'https' |
Definition at line 31 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().
| const ilHTTPS::SETTINGS_GROUP_SERVER = 'server' |
Definition at line 29 of file class.ilHTTPS.php.
Referenced by ilHttpConfigStoredObjective\achieve(), and ilHttpConfigStoredObjective\isApplicable().