12include_once
'./Services/Context/classes/class.ilContext.php';
15require_once(
"Services/Init/classes/class.ilInitialisation.php");
18if (!
$_SERVER[
'HTTP_SHIB_APPLICATION_ID'] && !
$_SERVER[
'Shib-Application-ID'] && !
$_SERVER[
'REDIRECT_Shib_Application_ID']) {
19 $message =
"This file must be protected by Shibboleth, otherwise you cannot use Shibboleth authentication! Consult the <a href=\"Services/AuthShibboleth/README.SHIBBOLETH.txt\">documentation</a> on how to configure Shibboleth authentication properly.";
20 $ilias->raiseError(
$message, $ilias->error_obj->WARNING);
24$ilCtrl->initBaseClass(
"ilStartUpGUI");
25$ilCtrl->setCmd(
'doShibbolethAuthentication');
An exception for terminatinating execution or to throw for unit testing.
static init($a_type)
Init context by type.
static initILIAS()
ilias initialisation
catch(Exception $e) $message
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']