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);
183 $this->kind = $this->settings->get(
'kind',self::TYPE_MANUAL);
185 include_once(
'Services/LDAP/classes/class.ilLDAPServer.php');
188 include_once(
'Services/Radius/classes/class.ilRadiusSettings.php');
190 $rad_active = $rad_settings->isActive();
192 $soap_active = $ilSetting->get(
'soap_auth_active',
false);
196 for($i = 0; $i < 4; $i++)
198 if($auth_mode = $this->settings->get((
string) $i,0))
203 $this->position[] = $auth_mode;
209 $this->position[] = $auth_mode;
216 $this->position[] = $auth_mode;
223 $this->position[] = $auth_mode;