108 self::$context = $a_context;
120 self::$context_options[$a_context] = $a_options;
129 return self::$context_options[$a_context] ?
130 self::$context_options[$a_context] :
145 switch(self::$context)
147 case self::CONTEXT_WEB:
148 include_once
'./Services/Authentication/classes/class.ilAuthWeb.php';
151 case self::CONTEXT_HTTP:
152 include_once
'./Services/Authentication/classes/class.ilAuthHTTP.php';
155 case self::CONTEXT_SOAP:
156 include_once
'./Services/WebServices/SOAP/classes/class.ilAuthSOAP.php';
159 case self::CONTEXT_CAS:
160 include_once
'./Services/CAS/classes/class.ilAuthCAS.php';
163 case self::CONTEXT_CALENDAR:
164 include_once
'./Services/Calendar/classes/class.ilAuthCalendar.php';
167 case self::CONTEXT_CALENDAR_TOKEN:
168 include_once
'./Services/Calendar/classes/class.ilAuthCalendarToken.php';
169 include_once
'./Services/Calendar/classes/class.ilAuthContainerCalendarToken.php';
171 $GLOBALS[
'ilLog']->write(
'Calling calendar token');
174 case self::CONTEXT_CRON:
175 include_once
'./cron/classes/class.ilAuthCron.php';
178 case self::CONTEXT_ECS:
179 include_once
'./Services/WebServices/ECS/classes/class.ilAuthECS.php';
182 case self::CONTEXT_OPENID:
183 include_once
'./Services/OpenId/classes/class.ilAuthOpenId.php';
186 case self::CONTEXT_APACHE:
187 include_once
'./Services/AuthApache/classes/class.ilAuthApache.php';