ILIAS
Release_3_10_x_branch Revision 61812
|
Authentication class for ECS users (access to remote courses) More...
Public Member Functions | |
__construct ($a_options, $ecs_hash) | |
Constructor. |
Protected Member Functions | |
loginObserver ($a_username) | |
Called from base class after successful login. | |
createUser (ilECSUser $user) | |
create new user | |
updateUser (ilECSUser $user, $a_local_user_id) | |
update existing user | |
failedLoginObserver () | |
Called from base class after failed login. |
Protected Attributes | |
$container = null | |
$settings = null | |
$ilLog = null |
Private Member Functions | |
setCallbacks () | |
Set callback function for PEAR Auth. | |
initLogObserver () | |
Init Log observer. | |
initSettings () | |
init ecs settings | |
sendNotification ($user_obj) | |
Send notification. |
Authentication class for ECS users (access to remote courses)
Definition at line 37 of file class.ilAuthECS.php.
ilAuthECS::__construct | ( | $a_options, | |
$ecs_hash | |||
) |
Constructor.
public
Definition at line 49 of file class.ilAuthECS.php.
References $ilLog, initLogObserver(), and setCallbacks().
|
protected |
create new user
protected
Definition at line 97 of file class.ilAuthECS.php.
References $ilLog, $ilSetting, ilAuthUtils\_generateLogin(), ilObject\_writeImportId(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilECSUser\getLogin(), IL_PASSWD_MD5, and initSettings().
Referenced by loginObserver().
|
protected |
Called from base class after failed login.
string | username |
Definition at line 196 of file class.ilAuthECS.php.
|
private |
Init Log observer.
private
Definition at line 219 of file class.ilAuthECS.php.
References $ilLog.
Referenced by __construct().
|
private |
init ecs settings
private
Definition at line 248 of file class.ilAuthECS.php.
References ilECSSettings\_getInstance().
Referenced by createUser(), and updateUser().
|
protected |
Called from base class after successful login.
string | username |
Definition at line 71 of file class.ilAuthECS.php.
References $_GET, $user, ilObject\_lookupObjIdByImportId(), createUser(), and updateUser().
|
private |
Send notification.
private
Definition at line 261 of file class.ilAuthECS.php.
References $GLOBALS, $lang, ilMail\_getAutoGeneratedMessageString(), and ilLanguageFactory\_getLanguage().
|
private |
Set callback function for PEAR Auth.
Definition at line 206 of file class.ilAuthECS.php.
Referenced by __construct().
|
protected |
update existing user
protected
Definition at line 161 of file class.ilAuthECS.php.
References $ilLog, ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), and initSettings().
Referenced by loginObserver().
|
protected |
Definition at line 39 of file class.ilAuthECS.php.
|
protected |
Definition at line 41 of file class.ilAuthECS.php.
Referenced by __construct(), createUser(), initLogObserver(), and updateUser().
|
protected |
Definition at line 40 of file class.ilAuthECS.php.