24 require_once(
'Auth/Auth.php');
25 require_once(
'./Services/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php');
26 require_once(
'include/Unicode/UtfNormal.php');
27 require_once(
'./Services/AuthShibboleth/classes/class.ilShibbolethPluginWrapper.php');
28 require_once(
'./Services/AuthShibboleth/classes/Config/class.shibConfig.php');
29 require_once(
'./Services/AuthShibboleth/classes/ServerData/class.shibServerData.php');
30 require_once(
'./Services/AuthShibboleth/classes/User/class.shibUser.php');
80 $ilias = $DIC[
'ilias'];
83 if ($shibServerData->getLogin()) {
86 $userObj =& $shibUser;
87 $newUser = $shibUser->isNew();
88 if ($shibUser->isNew()) {
89 $shibUser->createFields();
90 $shibUser->setPref(
'hits_per_page',
$ilSetting->get(
'hits_per_page'));
95 if ($ilias->getSetting(
'shib_data_conv') AND $ilias->getSetting(
'shib_data_conv') !=
'' 96 AND is_readable($ilias->getSetting(
'shib_data_conv'))
98 include($ilias->getSetting(
'shib_data_conv'));
102 $shibUser->updateOwner();
103 $shibUser->saveAsNew();
104 $shibUser->writePrefs();
108 $shibUser->updateFields();
111 if ($ilias->getSetting(
'shib_data_conv') AND $ilias->getSetting(
'shib_data_conv') !=
'' 112 AND is_readable($ilias->getSetting(
'shib_data_conv'))
114 include($ilias->getSetting(
'shib_data_conv'));
122 $this->
setAuth($shibUser->getLogin(), $shibUser);
124 if (
$_GET[
'target'] !=
'') {
128 $this->status = AUTH_WRONG_LOGIN;
141 parent::setAuth($username);
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static doAssignments($a_usr_id, $a_data)
static buildInstance(shibServerData $shibServerData)
setAuth($username, ilObjUser $userObj=NULL)
static _updateLastLogin($a_usr_id, $a_last_login=null)
STATIC METHOD updates the last_login field of user with given id to given or current date...
static updateAssignments($a_usr_id, $a_data)
static redirect($a_script)
http redirect to other script