|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
HTTPS. More...
Collaboration diagram for ilHTTPS:Public Member Functions | |
| __construct () | |
@deprected use ilHTTPS::getInstance() More... | |
| checkPort () | |
| check if current port usage is right: if https should be used than redirection is done, to http otherwise. More... | |
| __readProtectedScripts () | |
| isDetected () | |
| check if https is detected More... | |
| __readProtectedClasses () | |
| _checkHTTPS () | |
| static method to check if https connections are possible for this server @access public More... | |
| _checkHTTP () | |
| static method to check if http connections are possible for this server More... | |
| enableSecureCookies () | |
| enable secure cookies More... | |
Static Public Member Functions | |
| static | getInstance () |
| Get https instance. More... | |
Data Fields | |
| const | PROTOCOL_HTTP = 1 |
| const | PROTOCOL_HTTPS = 2 |
| $enabled = false | |
| $protected_scripts = array() | |
| $automaticHTTPSDetectionEnabled = false | |
| $headerName = false | |
| $headerValue = false | |
Protected Member Functions | |
| shouldSwitchProtocol ($to_protocol) | |
Static Private Attributes | |
| static | $instance = null |
| ilHTTPS::__construct | ( | ) |
@deprected use ilHTTPS::getInstance()
Definition at line 31 of file class.ilHTTPS.php.
References $ilIliasIniFile, $ilSetting, __readProtectedClasses(), and __readProtectedScripts().
Here is the call graph for this function:| ilHTTPS::__readProtectedClasses | ( | ) |
Definition at line 161 of file class.ilHTTPS.php.
Referenced by __construct().
Here is the caller graph for this function:| ilHTTPS::__readProtectedScripts | ( | ) |
Definition at line 115 of file class.ilHTTPS.php.
Referenced by __construct().
Here is the caller graph for this function:| ilHTTPS::_checkHTTP | ( | ) |
static method to check if http connections are possible for this server
@access public
Definition at line 195 of file class.ilHTTPS.php.
References $_SERVER.
| ilHTTPS::_checkHTTPS | ( | ) |
static method to check if https connections are possible for this server @access public
Definition at line 177 of file class.ilHTTPS.php.
References $_SERVER.
Referenced by ilSecuritySettings\validate().
Here is the caller graph for this function:| ilHTTPS::checkPort | ( | ) |
check if current port usage is right: if https should be used than redirection is done, to http otherwise.
Definition at line 96 of file class.ilHTTPS.php.
References $_SERVER, exit, and shouldSwitchProtocol().
Here is the call graph for this function:| ilHTTPS::enableSecureCookies | ( | ) |
enable secure cookies
@access public
return
Definition at line 214 of file class.ilHTTPS.php.
References $ilLog, IL_COOKIE_PATH, and isDetected().
Here is the call graph for this function:
|
static |
Get https instance.
Definition at line 52 of file class.ilHTTPS.php.
References $instance.
Referenced by ilUtil\deliverData(), ilUtil\deliverFile(), and ilInitialisation\setCookieParams().
Here is the caller graph for this function:| ilHTTPS::isDetected | ( | ) |
check if https is detected
Definition at line 134 of file class.ilHTTPS.php.
References $_SERVER, and $headerName.
Referenced by enableSecureCookies().
Here is the caller graph for this function:
|
protected |
| bool | $to_protocol |
Definition at line 65 of file class.ilHTTPS.php.
References $_GET, $_SERVER, PROTOCOL_HTTP, and PROTOCOL_HTTPS.
Referenced by checkPort().
Here is the caller graph for this function:| ilHTTPS::$automaticHTTPSDetectionEnabled = false |
Definition at line 23 of file class.ilHTTPS.php.
| ilHTTPS::$enabled = false |
Definition at line 20 of file class.ilHTTPS.php.
| ilHTTPS::$headerName = false |
Definition at line 24 of file class.ilHTTPS.php.
Referenced by isDetected().
| ilHTTPS::$headerValue = false |
Definition at line 25 of file class.ilHTTPS.php.
|
staticprivate |
Definition at line 18 of file class.ilHTTPS.php.
Referenced by getInstance().
| ilHTTPS::$protected_scripts = array() |
Definition at line 21 of file class.ilHTTPS.php.
| const ilHTTPS::PROTOCOL_HTTP = 1 |
Definition at line 15 of file class.ilHTTPS.php.
Referenced by shouldSwitchProtocol().
| const ilHTTPS::PROTOCOL_HTTPS = 2 |
Definition at line 16 of file class.ilHTTPS.php.
Referenced by shouldSwitchProtocol().