19 declare(strict_types=1);
23 public function __construct(
int $a_id = 0,
bool $a_call_by_reference =
true)
31 $settings = $this->
ilias->getAllSettings();
33 if (!$settings[
'shib_hos_type'] || !isset($settings[
'shib_user_default_role']) || !$settings[
'shib_login']
34 || !$settings[
'shib_firstname'] || !$settings[
'shib_lastname']) {
38 $this->
ilias->setSetting(
'shibboleth_active',
'1');
45 $settings = $this->
ilias->getAllSettings();
47 if (!$settings[
'auth_script_name']) {
51 $this->
ilias->setSetting(
'script_active',
'1');
59 $auth_settings_obj_id = (
int) reset($auth_settings_objects)[
'obj_id'];
62 return (
int) reset($auth_settings_ref_ids);
static _getObjectsByType(string $obj_type="", ?int $owner=null)
static _getAllReferences(int $id)
get all reference ids for object ID
__construct(int $a_id=0, bool $a_call_by_reference=true)
Class ilObjForumAdministration.
__construct(Container $dic, ilPlugin $plugin)
static getAuthSettingsRefId()