33 include_once
"./classes/class.ilObject.php";
46 $this->
ilObject($a_id,$a_call_by_reference);
51 $settings = $this->ilias->getAllSettings();
53 if (!$settings[
"ldap_server"] or !$settings[
"ldap_basedn"] or !$settings[
"ldap_port"])
58 $this->ilias->setSetting(
'ldap_active',
true);
65 $settings = $this->ilias->getAllSettings();
67 if (!$settings[
"hos_type"] or !$settings[
"shib_user_default_role"] or !$settings[
"shib_login"]
68 or !$settings[
"shib_firstname"] or !$settings[
"shib_lastname"])
73 $this->ilias->setSetting(
'shibboleth_active',
true);
80 $settings = $this->ilias->getAllSettings();
82 if (!$settings[
"radius_server"] or !$settings[
"radius_shared_secret"] or !$settings[
"radius_port"])
87 $this->ilias->setSetting(
'radius_active',
true);
94 $settings = $this->ilias->getAllSettings();
96 if (!$settings[
"auth_script_name"])
101 $this->ilias->setSetting(
'script_active',
true);
114 if (!parent::update())
134 if (!parent::delete())
156 return $roles ? $roles : array();
172 function notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params = 0)
212 if ($a_node_id==
$_GET[
"ref_id"])
214 $parent_obj =& $this->ilias->obj_factory->getInstanceByRefId($a_node_id);
215 $parent_type = $parent_obj->getType();
216 if($parent_type == $this->
getType())
218 $a_node_id = (int) $tree->getParentId($a_node_id);
222 parent::notify($a_event,$a_ref_id,$a_parent_non_rbac_id,$a_node_id,$a_params);