87 return self::$context;
97 self::$context = $a_context;
109 self::$context_options[$a_context] = $a_options;
118 return self::$context_options[$a_context] ?
119 self::$context_options[$a_context] :
132 $options = self::getContextOptions(self::getContext());
134 switch (self::$context) {
135 case self::CONTEXT_WEB:
136 include_once
'./Services/Authentication/classes/class.ilAuthWeb.php';
139 case self::CONTEXT_HTTP:
140 include_once
'./Services/Authentication/classes/class.ilAuthHTTP.php';
143 case self::CONTEXT_SOAP:
144 include_once
'./Services/WebServices/SOAP/classes/class.ilAuthSOAP.php';
147 case self::CONTEXT_CAS:
148 include_once
'./Services/CAS/classes/class.ilAuthCAS.php';
151 case self::CONTEXT_CALENDAR:
152 include_once
'./Services/Calendar/classes/class.ilAuthCalendar.php';
155 case self::CONTEXT_CALENDAR_TOKEN:
156 include_once
'./Services/Calendar/classes/class.ilAuthCalendarToken.php';
157 include_once
'./Services/Calendar/classes/class.ilAuthContainerCalendarToken.php';
159 $GLOBALS[
'ilLog']->write(
'Calling calendar token');
162 case self::CONTEXT_ECS:
163 include_once
'./Services/WebServices/ECS/classes/class.ilAuthECS.php';
166 case self::CONTEXT_APACHE:
167 include_once
'./Services/AuthApache/classes/class.ilAuthApache.php';
Class for calendar authentication.
static getContextOptions()
Get options for a specific context.
static setContextOptions($a_context, $a_options)
set context specific options for later use in factory.
Class for calendar authentication.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Base class for all ILIAS PEAR container classes
Authentication frontend factory.
Base class for ilAuth, ilAuthHTTP ....
Calendar token based authentication
Apache based authentication
Frontend class for SOAP based authentication
Authentication class for ECS users (access to remote courses)
static setContext($a_context)
set context
Create styles array
The data for the language used.
const CONTEXT_CALENDAR_TOKEN
static factory(ilAuthContainerBase $deco)
The factory.
if(!isset($_REQUEST['ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options