31 $this->
ilias = $DIC[
'ilias'];
47 if ($shib_server_data->getLogin() !==
'' && $shib_server_data->getLogin() !==
'0') {
52 $account_creation =
$settings->getAccountCreation();
54 $shib_user->updateFields();
58 $this->
ilias->getSetting(
'shib_data_conv') &&
59 $this->ilias->getSetting(
'shib_data_conv') !==
'' &&
60 is_readable($this->
ilias->getSetting(
'shib_data_conv'))
63 include($this->
ilias->getSetting(
'shib_data_conv'));
70 $shib_user->createFields();
71 $shib_user->setPref(
'hits_per_page', $this->
settings->get(
'hits_per_page'));
77 $this->
ilias->getSetting(
'shib_data_conv') &&
78 $this->ilias->getSetting(
'shib_data_conv',
'') !==
'' &&
79 is_readable($this->
ilias->getSetting(
'shib_data_conv'))
82 include($this->
ilias->getSetting(
'shib_data_conv'));
86 $shib_user->setActive(
false);
89 $shib_user->saveAsNew();
90 $shib_user->updateOwner();
91 $shib_user->writePrefs();
108 $this->
getLogger()->info(
'Shibboleth authentication failed.');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilAuthCredentials $credentials)
doAuthentication(ilAuthStatus $status)
handleAuthenticationFail(ilAuthStatus $status, string $a_reason)
ilAuthCredentials $credentials
const int STATUS_AUTHENTICATION_FAILED
setReason(string $a_reason)
Set reason.
setAuthenticatedUserId(int $a_id)
setStatus(int $a_status)
Set auth status.
const int STATUS_AUTHENTICATED
static _lookupId(string|array $a_user_str)
static doAssignments(int $a_usr_id, array $a_data)
static updateAssignments(int $a_usr_id, array $a_data)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const ACCOUNT_CREATION_ENABLED
const ACCOUNT_CREATION_DISABLED
const ACCOUNT_CREATION_WITH_APPROVAL
static buildInstance(shibServerData $shibServerData)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Class ilObjForumAdministration.