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)
136 case self::CONTEXT_WEB:
137 include_once
'./Services/Authentication/classes/class.ilAuthWeb.php';
140 case self::CONTEXT_HTTP:
141 include_once
'./Services/Authentication/classes/class.ilAuthHTTP.php';
144 case self::CONTEXT_SOAP:
145 include_once
'./Services/WebServices/SOAP/classes/class.ilAuthSOAP.php';
148 case self::CONTEXT_CAS:
149 include_once
'./Services/CAS/classes/class.ilAuthCAS.php';
152 case self::CONTEXT_CALENDAR:
153 include_once
'./Services/Calendar/classes/class.ilAuthCalendar.php';
156 case self::CONTEXT_CALENDAR_TOKEN:
157 include_once
'./Services/Calendar/classes/class.ilAuthCalendarToken.php';
158 include_once
'./Services/Calendar/classes/class.ilAuthContainerCalendarToken.php';
160 $GLOBALS[
'ilLog']->write(
'Calling calendar token');
163 case self::CONTEXT_ECS:
164 include_once
'./Services/WebServices/ECS/classes/class.ilAuthECS.php';
167 case self::CONTEXT_APACHE:
168 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
if(!is_array($argv)) $options
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.