ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilAuthProviderECS Class Reference

Auth prvider for ecs auth. More...

+ Inheritance diagram for ilAuthProviderECS:
+ Collaboration diagram for ilAuthProviderECS:

Public Member Functions

 __construct (\ilAuthCredentials $credentials)
 Constructor. More...
 
 getAbreviation ()
 get abbreviation More...
 
 getMID ()
 get mid More...
 
 setMID (int $a_mid)
 
 setCurrentServer (ilECSSetting $server)
 Set current server. More...
 
 getCurrentServer ()
 Get current server. More...
 
 getServerSettings ()
 Get server settings. More...
 
 doAuthentication (\ilAuthStatus $status)
 Try ecs authentication. More...
 
 handleLogin ()
 Called from base class after successful login. More...
 
 initRemoteUserWithRemoteId ()
 
 validateHash ()
 Validate ECS hash. More...
 
- Public Member Functions inherited from ilAuthProvider
 __construct (ilAuthCredentials $credentials)
 
 getLogger ()
 
 getCredentials ()
 
- Public Member Functions inherited from ilAuthProviderInterface
 doAuthentication (ilAuthStatus $status)
 

Protected Member Functions

 handleLoginByAuthMode (ilAuthStatus $status)
 Redirects to shibboleth login; to standard login page for LDAP based authentication or authenticates/creates a local account. More...
 
 resumeCurrentSession ()
 
 createUser (ilECSUser $user)
 create new user More...
 
 updateUser (ilECSUser $user, int $a_local_user_id)
 update existing user More...
 
 resetMailOptions (int $a_usr_id)
 Reset mail options to "local only". More...
 
- Protected Member Functions inherited from ilAuthProvider
 handleAuthenticationFail (ilAuthStatus $status, string $a_reason)
 

Protected Attributes

int $mid = null
 
string $abreviation = null
 
ilECSSetting $currentServer
 
ilECSServerSettings $servers
 
ilECSAuthFactory $auth_factory
 

Private Member Functions

 initECSServices ()
 Init ECS Services. More...
 

Private Attributes

ilIniFile $clientIniFile
 
ilRbacAdmin $rbacAdmin
 
ilSetting $setting
 
ilLanguage $lng
 
Refinery $refinery
 
HTTPServices $http
 
ilAuthSession $authSession
 
ilCtrlInterface $ctrl
 

Detailed Description

Auth prvider for ecs auth.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 29 of file class.ilAuthProviderECS.php.

Constructor & Destructor Documentation

◆ __construct()

ilAuthProviderECS::__construct ( \ilAuthCredentials  $credentials)

Constructor.

Parameters
\ilAuthCredentials$credentials

Definition at line 52 of file class.ilAuthProviderECS.php.

53 {
55
56 global $DIC;
57
58 $this->clientIniFile = $DIC->clientIni();
59 $this->rbacAdmin = $DIC->rbac()->admin();
60 $this->setting = $DIC->settings();
61 $this->lng = $DIC->language();
62 $this->lng->loadLanguageModule('ecs');
63 $this->http = $DIC->http();
64 $this->refinery = $DIC->refinery();
65 $this->authSession = $DIC['ilAuthSession'];
66 $this->ctrl = $DIC->ctrl();
67 $this->auth_factory = new ilECSAuthFactory();
68
69 $this->initECSServices();
70 }
initECSServices()
Init ECS Services.
ilAuthCredentials $credentials
static http()
Fetches the global http state from ILIAS.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References ilAuthProvider\$credentials, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initECSServices(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ createUser()

ilAuthProviderECS::createUser ( ilECSUser  $user)
protected

create new user

Definition at line 344 of file class.ilAuthProviderECS.php.

344 : string
345 {
346 $userObj = new ilObjUser();
347 $userObj->setOwner(SYSTEM_USER_ID);
348
349 $local_user = ilAuthUtils::_generateLogin($this->getAbreviation() . '_' . $user->getLogin());
350
351 // system data
352 $userObj->setLogin($local_user);
353 $userObj->setFirstname($user->getFirstname());
354 $userObj->setLastname($user->getLastname());
355 $userObj->setTitle($userObj->getFullname());
356 $userObj->setDescription($userObj->getEmail());
357 $userObj->setEmail($user->getEmail());
358 $userObj->setInstitution($user->getInstitution());
359 $userObj->setPasswd('', ilObjUser::PASSWD_CRYPTED);
360 $userObj->setAuthMode('ecs');
361 // set user language to system language
362 $userObj->setLanguage($this->setting->get("language"));
363
364 // Time limit
365 $userObj->setTimeLimitUnlimited(false);
366 $userObj->setTimeLimitFrom(time() - 5);
367 $userObj->setTimeLimitUntil(time() + (int) $this->clientIniFile->readVariable("session", "expire"));
368
369 // Create user in DB
370 $userObj->setOwner(6);
371 $tmp_date = new ilDateTime(time(), IL_CAL_UNIX);
372 $userObj->setAgreeDate($tmp_date->get(IL_CAL_DATETIME));
373 $userObj->create();
374 $userObj->setActive(true);
375 $userObj->saveAsNew();
376 $userObj->updateOwner();
377 $userObj->writePrefs();
378
379 if ($this->getCurrentServer()->getGlobalRole()) {
380 $this->rbacAdmin->assignUser($this->getCurrentServer()->getGlobalRole(), $userObj->getId());
381 }
382 ilObject::_writeImportId($userObj->getId(), $user->getImportId());
383
384 $this->getLogger()->info('Created new remote user with usr_id: ' . $user->getImportId());
385
386 // Send Mail
387 #$this->sendNotification($userObj);
388 $this->resetMailOptions($userObj->getId());
389
390 return $userObj->getLogin();
391 }
const IL_CAL_UNIX
const IL_CAL_DATETIME
resetMailOptions(int $a_usr_id)
Reset mail options to "local only".
getAbreviation()
get abbreviation
getCurrentServer()
Get current server.
static _generateLogin(string $a_login)
generate free login by starting with a default string and adding postfix numbers
@classDescription Date and time handling
getFirstname()
get firstname
getLastname()
getLastname
getLogin()
get login
getImportId()
get Email
getEmail()
get email
getInstitution()
get institution
User class.
const PASSWD_CRYPTED
static _writeImportId(int $obj_id, string $import_id)
write import id to db (static)
const SYSTEM_USER_ID
This file contains constants for PHPStan analyis, see: https://phpstan.org/config-reference#constants...
Definition: constants.php:26

References ilAuthUtils\_generateLogin(), ilObject\_writeImportId(), getAbreviation(), getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilAuthProvider\getLogger(), ilECSUser\getLogin(), IL_CAL_DATETIME, IL_CAL_UNIX, ilObjUser\PASSWD_CRYPTED, resetMailOptions(), and SYSTEM_USER_ID.

Referenced by handleLogin().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doAuthentication()

ilAuthProviderECS::doAuthentication ( \ilAuthStatus  $status)

Try ecs authentication.

Definition at line 121 of file class.ilAuthProviderECS.php.

121 : bool
122 {
123 $this->getLogger()->debug('Starting ECS authentication');
124 if (!$this->getServerSettings()->activeServerExists()) {
125 $this->getLogger()->warning('No active ecs server found. Aborting');
126 $this->handleAuthenticationFail($status, 'err_wrong_login');
127 return false;
128 }
129
130 // Iterate through all active ecs instances
131 foreach ($this->getServerSettings()->getServers(ilECSServerSettings::ACTIVE_SERVER) as $server) {
132 $this->setCurrentServer($server);
133 if ($this->validateHash()) {
134 return $this->handleLoginByAuthMode($status);
135 }
136 }
137 $this->getLogger()->warning('Could not validate ecs hash for any active server.');
138 $this->handleAuthenticationFail($status, 'err_wrong_login');
139 return false;
140 }
getServerSettings()
Get server settings.
setCurrentServer(ilECSSetting $server)
Set current server.
handleLoginByAuthMode(ilAuthStatus $status)
Redirects to shibboleth login; to standard login page for LDAP based authentication or authenticates/...
validateHash()
Validate ECS hash.
handleAuthenticationFail(ilAuthStatus $status, string $a_reason)
$server
Definition: shib_login.php:28

References $server, ilECSServerSettings\ACTIVE_SERVER, ilAuthProvider\getLogger(), getServerSettings(), ilAuthProvider\handleAuthenticationFail(), handleLoginByAuthMode(), setCurrentServer(), and validateHash().

+ Here is the call graph for this function:

◆ getAbreviation()

ilAuthProviderECS::getAbreviation ( )

get abbreviation

Definition at line 75 of file class.ilAuthProviderECS.php.

75 : string
76 {
77 return $this->abreviation;
78 }

References $abreviation.

Referenced by createUser().

+ Here is the caller graph for this function:

◆ getCurrentServer()

ilAuthProviderECS::getCurrentServer ( )

Get current server.

Definition at line 104 of file class.ilAuthProviderECS.php.

References $currentServer.

Referenced by createUser(), handleLogin(), handleLoginByAuthMode(), initRemoteUserWithRemoteId(), resumeCurrentSession(), updateUser(), and validateHash().

+ Here is the caller graph for this function:

◆ getMID()

ilAuthProviderECS::getMID ( )

get mid

Definition at line 83 of file class.ilAuthProviderECS.php.

83 : int
84 {
85 return $this->mid;
86 }

References $mid.

Referenced by handleLogin(), handleLoginByAuthMode(), and initRemoteUserWithRemoteId().

+ Here is the caller graph for this function:

◆ getServerSettings()

ilAuthProviderECS::getServerSettings ( )

Get server settings.

Definition at line 112 of file class.ilAuthProviderECS.php.

113 {
114 return $this->servers;
115 }
ilECSServerSettings $servers
Collection of ECS settings.

References $servers.

Referenced by doAuthentication().

+ Here is the caller graph for this function:

◆ handleLogin()

ilAuthProviderECS::handleLogin ( )

Called from base class after successful login.

Definition at line 216 of file class.ilAuthProviderECS.php.

217 {
218 $user = new ilECSUser($this->http->request()->getQueryParams());
219
220 if (!$usr_id = ilObject::_lookupObjIdByImportId($user->getImportId())) {
221 $username = $this->createUser($user);
222 } else {
223 $username = $this->updateUser($user, $usr_id);
224 }
225
226 // set user imported
227 $import = new ilECSImport($this->getCurrentServer()->getServerId(), $usr_id);
228 $import->save();
229
230 // Store remote user data
231 $remoteUserRepository = new ilECSRemoteUserRepository();
232 $remoteUserRepository->createIfNotExisting(
233 $this->getCurrentServer()->getServerId(),
234 $this->getMID(),
235 ilObjUser::_lookupId($username),
236 $user->getImportId()
237 );
238
239 $this->getLogger()->info('Current user is: ' . $username);
240
241 return ilObjUser::_lookupId($username);
242 }
createUser(ilECSUser $user)
create new user
updateUser(ilECSUser $user, int $a_local_user_id)
update existing user
Storage of ECS imported objects.
Stores relevant user data.
static _lookupId(string|array $a_user_str)
static _lookupObjIdByImportId(string $import_id)
Get (latest) object id for an import id.

References ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), createUser(), getCurrentServer(), ilAuthProvider\getLogger(), getMID(), ILIAS\FileDelivery\http(), and updateUser().

Referenced by handleLoginByAuthMode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleLoginByAuthMode()

ilAuthProviderECS::handleLoginByAuthMode ( ilAuthStatus  $status)
protected

Redirects to shibboleth login; to standard login page for LDAP based authentication or authenticates/creates a local account.

Definition at line 146 of file class.ilAuthProviderECS.php.

146 : bool
147 {
148 $is_external_account = false;
149 if ($this->http->wrapper()->query()->has('ecs_external_account')) {
150 $is_external_account = $this->http->wrapper()->query()->retrieve(
151 'ecs_external_account',
152 $this->refinery->kindlyTo()->bool()
153 );
154 }
155 if ($this->http->wrapper()->query()->has('target')) {
156 $redirection_target = $this->http->wrapper()->query()->retrieve(
157 'target',
158 $this->refinery->kindlyTo()->string()
159 );
160 } else {
161 $redirection_target = $this->http->request()->getUri()->getPath();
162 }
163 $part_settings = new ilECSParticipantSetting(
164 $this->getCurrentServer()->getServerId(),
165 $this->getMID()
166 );
167 if ($this->resumeCurrentSession()) {
168 $this->getLogger()->debug('Continuing current user session');
170 $status->setAuthenticatedUserId($this->authSession->getUserId());
171 return true;
172 }
173 if ($is_external_account) {
175 $this->auth_factory->build($part_settings->getIncomingAuthType())->handleLogin($redirection_target);
176 return false;
177 }
178 if ($part_settings->areIncomingLocalAccountsSupported()) {
179 // handle successful authentication
180 $new_usr_id = $this->handleLogin();
181 $this->getLogger()->info('ECS authentication successful.');
183 $status->setAuthenticatedUserId($new_usr_id);
184 return true;
185 }
186 $this->handleAuthenticationFail($status, 'err_wrong_login');
187 return false;
188 }
handleLogin()
Called from base class after successful login.
setAuthenticatedUserId(int $a_id)
setStatus(int $a_status)
Set auth status.
const int STATUS_AUTHENTICATED

References getCurrentServer(), ilAuthProvider\getLogger(), getMID(), ilAuthProvider\handleAuthenticationFail(), handleLogin(), ILIAS\FileDelivery\http(), initRemoteUserWithRemoteId(), ILIAS\Repository\refinery(), resumeCurrentSession(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), and ilAuthStatus\STATUS_AUTHENTICATED.

Referenced by doAuthentication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initECSServices()

ilAuthProviderECS::initECSServices ( )
private

Init ECS Services.

Definition at line 336 of file class.ilAuthProviderECS.php.

336 : void
337 {
338 $this->servers = ilECSServerSettings::getInstance();
339 }
static getInstance()
Get singleton instance.

References ilECSServerSettings\getInstance().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initRemoteUserWithRemoteId()

ilAuthProviderECS::initRemoteUserWithRemoteId ( )

Definition at line 244 of file class.ilAuthProviderECS.php.

244 : void
245 {
246 $user = new ilECSUser($this->http->request()->getQueryParams());
247
248 // Store remote user data
249 $remoteUserRepository = new ilECSRemoteUserRepository();
250 $remoteUserRepository->createIfRemoteUserNotExisting(
251 $this->getCurrentServer()->getServerId(),
252 $this->getMID(),
253 0,
254 $user->getLogin()
255 );
256 }

References getCurrentServer(), getMID(), and ILIAS\FileDelivery\http().

Referenced by handleLoginByAuthMode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetMailOptions()

ilAuthProviderECS::resetMailOptions ( int  $a_usr_id)
protected

Reset mail options to "local only".

Definition at line 431 of file class.ilAuthProviderECS.php.

431 : void
432 {
433 $options = new ilMailOptions($a_usr_id);
434 $options->setIncomingType(ilMailOptions::INCOMING_LOCAL);
435 $options->updateOptions();
436 }
final const int INCOMING_LOCAL

References ILIAS\UI\Implementation\Component\Input\Field\$options, and ilMailOptions\INCOMING_LOCAL.

Referenced by createUser(), and updateUser().

+ Here is the caller graph for this function:

◆ resumeCurrentSession()

ilAuthProviderECS::resumeCurrentSession ( )
protected

Definition at line 190 of file class.ilAuthProviderECS.php.

190 : bool
191 {
192 $session_user_id = $this->authSession->getUserId();
193 if (!$session_user_id || $session_user_id === ANONYMOUS_USER_ID) {
194 $this->getLogger()->debug('No valid session found');
195 $this->authSession->setAuthenticated(false, ANONYMOUS_USER_ID);
196 return false;
197 }
198 $session_ext_account = ilObjUser::_lookupExternalAccount($session_user_id);
199 $user = new ilECSUser($this->http->request()->getQueryParams());
200 $this->getLogger()->debug('ECS user name: ' . $user->getLogin());
201 $this->getLogger()->debug('Session external account: ' . $session_ext_account);
202 if (!$session_ext_account || strcmp($user->getLogin(), $session_ext_account) !== 0) {
203 $this->getLogger()->debug('No matching session found. Terminating current user session.');
204 $this->authSession->setAuthenticated(false, ANONYMOUS_USER_ID);
205 return false;
206 }
207 // assign to ECS global role
208 $this->rbacAdmin->assignUser($this->getCurrentServer()->getGlobalRole(), $this->authSession->getUserId());
209 return true;
210 }
static _lookupExternalAccount(int $a_user_id)
const ANONYMOUS_USER_ID
Definition: constants.php:27

References ilObjUser\_lookupExternalAccount(), ANONYMOUS_USER_ID, getCurrentServer(), ilAuthProvider\getLogger(), and ILIAS\FileDelivery\http().

Referenced by handleLoginByAuthMode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCurrentServer()

ilAuthProviderECS::setCurrentServer ( ilECSSetting  $server)

Set current server.

Definition at line 96 of file class.ilAuthProviderECS.php.

96 : void
97 {
98 $this->currentServer = $server;
99 }

References $server.

Referenced by doAuthentication().

+ Here is the caller graph for this function:

◆ setMID()

ilAuthProviderECS::setMID ( int  $a_mid)

Definition at line 88 of file class.ilAuthProviderECS.php.

88 : void
89 {
90 $this->mid = $a_mid;
91 }

Referenced by validateHash().

+ Here is the caller graph for this function:

◆ updateUser()

ilAuthProviderECS::updateUser ( ilECSUser  $user,
int  $a_local_user_id 
)
protected

update existing user

Definition at line 396 of file class.ilAuthProviderECS.php.

396 : string
397 {
398 $user_obj = new ilObjUser($a_local_user_id);
399 $user_obj->setFirstname($user->getFirstname());
400 $user_obj->setLastname($user->getLastname());
401 $user_obj->setEmail($user->getEmail());
402 $user_obj->setInstitution($user->getInstitution());
403 $user_obj->setActive(true);
404
405 $until = $user_obj->getTimeLimitUntil();
406
407 if ($until < (time() + (int) $this->clientIniFile->readVariable('session', 'expire'))) {
408 $user_obj->setTimeLimitFrom(time() - 60);
409 $user_obj->setTimeLimitUntil(time() + (int) $this->clientIniFile->readVariable("session", "expire"));
410 }
411 $user_obj->refreshLogin();
412 $user_obj->update();
413
414 if ($this->getCurrentServer()->getGlobalRole()) {
415 $this->rbacAdmin->assignUser(
416 $this->getCurrentServer()->getGlobalRole(),
417 $user_obj->getId()
418 );
419 }
420
421 $this->resetMailOptions($a_local_user_id);
422
423 $this->getLogger()->debug('Finished update of remote user with usr_id: ' . $user->getImportId());
424 return $user_obj->getLogin();
425 }

References getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilAuthProvider\getLogger(), and resetMailOptions().

Referenced by handleLogin().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validateHash()

ilAuthProviderECS::validateHash ( )

Validate ECS hash.

Definition at line 261 of file class.ilAuthProviderECS.php.

261 : bool
262 {
263 // fetch hash
264 $hash = "";
265 if ($this->http->wrapper()->query()->has('ecs_hash')) {
266 $hash = $this->http->wrapper()->query()->retrieve(
267 'ecs_hash',
268 $this->refinery->kindlyTo()->string()
269 );
270 }
271 if ($this->http->wrapper()->query()->has('ecs_hash_url')) {
272 $hashurl = urldecode(
273 $this->http->wrapper()->query()->retrieve(
274 'ecs_hash_url',
275 $this->refinery->kindlyTo()->string()
276 )
277 );
278 $hash = basename(parse_url($hashurl, PHP_URL_PATH));
279 }
280
281 $this->getLogger()->info('Using ecs hash: ' . $hash);
282 // Check if hash is valid ...
283 try {
284 $connector = new ilECSConnector($this->getCurrentServer());
285 $res = $connector->getAuth($hash);
286 $auths = $res->getResult();
287
288 //$this->getLogger()->dump($auths, ilLogLevel::DEBUG);
289
290 if ($auths->pid) {
291 try {
292 $reader = ilECSCommunityReader::getInstanceByServerId($this->getCurrentServer()->getServerId());
293 foreach ($reader->getParticipantsByPid($auths->pid) as $participant) {
294 if ($participant->getOrganisation() instanceof \ilECSOrganisation) {
295 $this->abreviation = $participant->getOrganisation()->getAbbreviation();
296 break;
297 }
298 }
299 if (!$this->abreviation) {
300 $this->abreviation = $auths->abbr;
301 }
302 } catch (Exception $e) {
303 $this->getLogger()->warning('Authentication failed with message: ' . $e->getMessage());
304 return false;
305 }
306 } else {
307 $this->abreviation = $auths->abbr;
308 }
309
310 $this->getLogger()->debug('Got abbreviation: ' . $this->abreviation);
311 } catch (ilECSConnectorException $e) {
312 $this->getLogger()->warning('Authentication failed with message: ' . $e->getMessage());
313 return false;
314 }
315
316 // read current mid
317 try {
318 $connector = new ilECSConnector($this->getCurrentServer());
319 $details = $connector->getAuth($hash, true);
320
321 //$this->getLogger()->dump($details, ilLogLevel::DEBUG);
322 $this->getLogger()->debug('Token create for mid: ' . $details->getFirstSender());
323
324 $this->setMID($details->getFirstSender());
325 } catch (ilECSConnectorException $e) {
326 $this->getLogger()->warning('Receiving mid failed with message: ' . $e->getMessage());
327 return false;
328 }
329 return true;
330 }
static getInstanceByServerId(int $a_server_id)
Get instance by server id.
$res
Definition: ltiservices.php:69

References Vendor\Package\$e, $res, getCurrentServer(), ilECSCommunityReader\getInstanceByServerId(), ilAuthProvider\getLogger(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and setMID().

Referenced by doAuthentication().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $abreviation

string ilAuthProviderECS::$abreviation = null
protected

Definition at line 41 of file class.ilAuthProviderECS.php.

Referenced by getAbreviation().

◆ $auth_factory

ilECSAuthFactory ilAuthProviderECS::$auth_factory
protected

Definition at line 45 of file class.ilAuthProviderECS.php.

◆ $authSession

ilAuthSession ilAuthProviderECS::$authSession
private

Definition at line 37 of file class.ilAuthProviderECS.php.

◆ $clientIniFile

ilIniFile ilAuthProviderECS::$clientIniFile
private

Definition at line 31 of file class.ilAuthProviderECS.php.

◆ $ctrl

ilCtrlInterface ilAuthProviderECS::$ctrl
private

Definition at line 38 of file class.ilAuthProviderECS.php.

◆ $currentServer

ilECSSetting ilAuthProviderECS::$currentServer
protected

Definition at line 43 of file class.ilAuthProviderECS.php.

Referenced by getCurrentServer().

◆ $http

HTTPServices ilAuthProviderECS::$http
private

Definition at line 36 of file class.ilAuthProviderECS.php.

◆ $lng

ilLanguage ilAuthProviderECS::$lng
private

Definition at line 34 of file class.ilAuthProviderECS.php.

◆ $mid

int ilAuthProviderECS::$mid = null
protected

Definition at line 40 of file class.ilAuthProviderECS.php.

Referenced by getMID().

◆ $rbacAdmin

ilRbacAdmin ilAuthProviderECS::$rbacAdmin
private

Definition at line 32 of file class.ilAuthProviderECS.php.

◆ $refinery

Refinery ilAuthProviderECS::$refinery
private

Definition at line 35 of file class.ilAuthProviderECS.php.

◆ $servers

ilECSServerSettings ilAuthProviderECS::$servers
protected

Definition at line 44 of file class.ilAuthProviderECS.php.

Referenced by getServerSettings().

◆ $setting

ilSetting ilAuthProviderECS::$setting
private

Definition at line 33 of file class.ilAuthProviderECS.php.


The documentation for this class was generated from the following file: