32 include_once(
'Services/Authentication/classes/class.ilAuthUtils.php');
60 include_once
"./Services/Administration/classes/class.ilSetting.php";
61 $this->settings =
new ilSetting(
"auth_mode_determination");
114 $this->kind = $a_kind;
125 return $this->position ? $this->position : array();
136 return count($this->position);
148 $this->position = $a_pos;
160 $this->settings->deleteAll();
162 $this->settings->set(
'kind',$this->
getKind());
165 foreach($this->position as $auth_mode)
167 $this->settings->set((
string) $counter++,$auth_mode);
181 $this->kind = $this->settings->get(
'kind',self::TYPE_MANUAL);
183 include_once(
'Services/LDAP/classes/class.ilLDAPServer.php');
186 include_once(
'Services/Radius/classes/class.ilRadiusSettings.php');
188 $rad_active = $rad_settings->isActive();
192 for($i = 0; $i < 3; $i++)
194 if($auth_mode = $this->settings->get((
string) $i,0))
199 $this->position[] = $auth_mode;
204 $this->position[] = $auth_mode;
211 $this->position[] = $auth_mode;