ILIAS
Release_4_1_x_branch Revision 61804
|
HTTPS. More...
Public Member Functions | |
ilHTTPS () | |
use ilHTTPS::getInstance() | |
checkPort () | |
check if current port usage is right: if https should be used than redirection is done, to http otherwise. | |
__readProtectedScripts () | |
isDetected () | |
check if https is detected | |
__readProtectedClasses () | |
_checkHTTPS () | |
static method to check if https connections are possible for this server public | |
_checkHTTP () | |
static method to check if http connections are possible for this server | |
enableSecureCookies () | |
enable secure cookies |
Static Public Member Functions | |
static | getInstance () |
Get https instance. |
Data Fields | |
$enabled = false | |
$protected_scripts = array() | |
$automaticHTTPSDetectionEnabled = false | |
$headerName = false | |
$headerValue = false |
Static Private Attributes | |
static | $instance = null |
HTTPS.
Definition at line 13 of file class.ilHTTPS.php.
ilHTTPS::__readProtectedClasses | ( | ) |
Definition at line 131 of file class.ilHTTPS.php.
Referenced by ilHTTPS().
ilHTTPS::__readProtectedScripts | ( | ) |
Definition at line 85 of file class.ilHTTPS.php.
Referenced by ilHTTPS().
ilHTTPS::_checkHTTP | ( | ) |
static method to check if http connections are possible for this server
public
Definition at line 164 of file class.ilHTTPS.php.
Referenced by ilSecuritySettings\validate().
ilHTTPS::_checkHTTPS | ( | ) |
static method to check if https connections are possible for this server public
Definition at line 146 of file class.ilHTTPS.php.
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 62 of file class.ilHTTPS.php.
ilHTTPS::enableSecureCookies | ( | ) |
enable secure cookies
public
@return |
Definition at line 183 of file class.ilHTTPS.php.
References $ilLog, IL_COOKIE_PATH, and isDetected().
|
static |
Get https instance.
Definition at line 48 of file class.ilHTTPS.php.
References $instance, and ilHTTPS().
Referenced by ilUtil\deliverData(), and ilUtil\deliverFile().
ilHTTPS::ilHTTPS | ( | ) |
Definition at line 28 of file class.ilHTTPS.php.
References $ilSetting, __readProtectedClasses(), and __readProtectedScripts().
Referenced by getInstance().
ilHTTPS::isDetected | ( | ) |
check if https is detected
Definition at line 104 of file class.ilHTTPS.php.
References $headerName.
Referenced by enableSecureCookies().
ilHTTPS::$automaticHTTPSDetectionEnabled = false |
Definition at line 20 of file class.ilHTTPS.php.
ilHTTPS::$enabled = false |
Definition at line 17 of file class.ilHTTPS.php.
ilHTTPS::$headerName = false |
Definition at line 21 of file class.ilHTTPS.php.
Referenced by isDetected().
ilHTTPS::$headerValue = false |
Definition at line 22 of file class.ilHTTPS.php.
|
staticprivate |
Definition at line 15 of file class.ilHTTPS.php.
Referenced by getInstance().
ilHTTPS::$protected_scripts = array() |
Definition at line 18 of file class.ilHTTPS.php.