ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
HTTPS. More...
Public Member Functions | |
__construct () | |
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 () | |
_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... | |
static | _checkHTTPS () |
static method to check if https connections are possible for this server public More... | |
Data Fields | |
const | PROTOCOL_HTTP = 1 |
const | PROTOCOL_HTTPS = 2 |
Protected Member Functions | |
shouldSwitchProtocol ($to_protocol) | |
Protected Attributes | |
$enabled = false | |
$protected_classes = array() | |
$protected_scripts = array() | |
$automaticHTTPSDetectionEnabled = false | |
$headerName = false | |
$headerValue = false | |
Static Private Attributes | |
static | $instance = null |
ilHTTPS::__construct | ( | ) |
Definition at line 33 of file class.ilHTTPS.php.
References $ilIliasIniFile, $ilSetting, __readProtectedClasses(), and __readProtectedScripts().
ilHTTPS::__readProtectedClasses | ( | ) |
Definition at line 154 of file class.ilHTTPS.php.
Referenced by __construct().
ilHTTPS::__readProtectedScripts | ( | ) |
Definition at line 110 of file class.ilHTTPS.php.
Referenced by __construct().
ilHTTPS::_checkHTTP | ( | ) |
static method to check if http connections are possible for this server
public
Definition at line 183 of file class.ilHTTPS.php.
References $_SERVER, and $error.
|
static |
static method to check if https connections are possible for this server public
Definition at line 166 of file class.ilHTTPS.php.
References $_SERVER, and $error.
Referenced by ilSecuritySettings\validate().
ilHTTPS::checkPort | ( | ) |
check if current port usage is right: if https should be used than redirection is done, to http otherwise.
Definition at line 94 of file class.ilHTTPS.php.
References $_SERVER, exit, header, and shouldSwitchProtocol().
ilHTTPS::enableSecureCookies | ( | ) |
enable secure cookies
public
Definition at line 201 of file class.ilHTTPS.php.
References defined, IL_COOKIE_PATH, and isDetected().
|
static |
Get https instance.
Definition at line 52 of file class.ilHTTPS.php.
Referenced by ilUtil\deliverData(), and ilInitialisation\setSessionCookieParams().
ilHTTPS::isDetected | ( | ) |
check if https is detected
Definition at line 128 of file class.ilHTTPS.php.
References $_SERVER, and $headerName.
Referenced by enableSecureCookies().
|
protected |
bool | $to_protocol |
Definition at line 64 of file class.ilHTTPS.php.
References $_GET, and $_SERVER.
Referenced by checkPort().
|
protected |
Definition at line 25 of file class.ilHTTPS.php.
|
protected |
Definition at line 20 of file class.ilHTTPS.php.
|
protected |
Definition at line 26 of file class.ilHTTPS.php.
Referenced by isDetected().
|
protected |
Definition at line 27 of file class.ilHTTPS.php.
|
staticprivate |
Definition at line 18 of file class.ilHTTPS.php.
|
protected |
Definition at line 22 of file class.ilHTTPS.php.
|
protected |
Definition at line 23 of file class.ilHTTPS.php.
const ilHTTPS::PROTOCOL_HTTP = 1 |
Definition at line 15 of file class.ilHTTPS.php.
const ilHTTPS::PROTOCOL_HTTPS = 2 |
Definition at line 16 of file class.ilHTTPS.php.