24 include_once(
'Auth/Container/RADIUS.php');
58 #$_POST['username'] = utf8_decode($_POST['username']);
59 #$_POST['password'] = utf8_decode($_POST['password']);
60 $this->log->write(__METHOD__.
': Decoded username and password to latin1.');
76 $this->force_creation =
true;
86 $user_data = array_change_key_case($a_auth->getAuthData(),CASE_LOWER);
89 if(!$user_data[
'ilInternalAccount'])
91 if($this->radius_settings->enabledCreation())
97 $_SESSION[
'tmp_external_account'] = $a_username;
99 $_SESSION[
'tmp_roles'] = array(0 => $this->radius_settings->getDefaultRole());
101 ilUtil::redirect(
'ilias.php?baseClass=ilStartUpGUI&cmd=showAccountMigration&cmdClass=ilstartupgui');
104 $new_name = $this->radius_user->create($a_username);
105 $a_auth->setAuth($new_name);
119 $a_auth->setAuth($user_data[
'ilInternalAccount']);
130 include_once
'Services/Radius/classes/class.ilRadiusSettings.php';
143 include_once(
'Services/Radius/classes/class.ilRadiusAttributeToUser.php');