5include_once 
'./Services/Authentication/classes/Provider/class.ilAuthProvider.php';
 
    6include_once 
'./Services/Authentication/interfaces/interface.ilAuthProviderInterface.php';
 
    7include_once 
'./Services/Authentication/interfaces/interface.ilAuthProviderAccountMigrationInterface.php';
 
   10require_once(
'./Services/AuthShibboleth/classes/class.ilShibbolethRoleAssignmentRules.php');
 
   11require_once(
'include/Unicode/UtfNormal.php');
 
   12require_once(
'./Services/AuthShibboleth/classes/class.ilShibbolethPluginWrapper.php');
 
   13require_once(
'./Services/AuthShibboleth/classes/Config/class.shibConfig.php');
 
   14require_once(
'./Services/AuthShibboleth/classes/ServerData/class.shibServerData.php');
 
   15require_once(
'./Services/AuthShibboleth/classes/User/class.shibUser.php');
 
   43                $ilias = 
$DIC[
'ilias'];
 
   49                if ($shibServerData->getLogin()) {
 
   52                        $userObj =& $shibUser; 
 
   53                        $newUser = $shibUser->isNew(); 
 
   54                        if ($shibUser->isNew()) {
 
   55                                $shibUser->createFields();
 
   56                                $shibUser->setPref(
'hits_per_page', 
$ilSetting->get(
'hits_per_page'));
 
   61                                if ($ilias->getSetting(
'shib_data_conv') AND $ilias->getSetting(
'shib_data_conv') != 
'' 
   62                                        AND is_readable($ilias->getSetting(
'shib_data_conv'))
 
   64                                        include($ilias->getSetting(
'shib_data_conv'));
 
   68                                $shibUser->updateOwner();
 
   69                                $shibUser->saveAsNew();
 
   70                                $shibUser->writePrefs();
 
   74                                $shibUser->updateFields();
 
   77                                if ($ilias->getSetting(
'shib_data_conv') AND $ilias->getSetting(
'shib_data_conv') != 
'' 
   78                                        AND is_readable($ilias->getSetting(
'shib_data_conv'))
 
   80                                        include($ilias->getSetting(
'shib_data_conv'));
 
   94                        #$this->setAuth($shibUser->getLogin(), $shibUser); 
   95                        #ilObjUser::_updateLastLogin($shibUser->getId()); 
   96                        #if ($_GET['target'] != '') { 
   97                        #       ilUtil::redirect('goto.php?target=' . $_GET['target'] . '&client_id=' . CLIENT_ID); 
  102                        $this->
getLogger()->info(
'Shibboleth authentication failed.');
 
An exception for terminatinating execution or to throw for unit testing.
Shibboleth authentication provider.
doAuthentication(\ilAuthStatus $status)
Do apache auth.
__construct(\ilAuthCredentials $credentials)
Constructor.
Base class for authentication providers (radius, ldap, apache, ...)
handleAuthenticationFail(ilAuthStatus $status, $a_reason)
Handle failed authentication.
Auth status implementation.
const STATUS_AUTHENTICATED
static _lookupId($a_user_str)
Lookup id by login.
static doAssignments($a_usr_id, $a_data)
static updateAssignments($a_usr_id, $a_data)
static buildInstance(shibServerData $shibServerData)
Interface of auth credentials.
Standard interface for auth provider implementations.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']