|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Custom PEAR Auth Container for ECS auth checks. More...
Inheritance diagram for ilAuthContainerECS:
Collaboration diagram for ilAuthContainerECS:Public Member Functions | |
| __construct ($a_params=array()) | |
| Constructor. More... | |
| getAbreviation () | |
| get abbreviation More... | |
| getMID () | |
| get mid More... | |
| setMID ($a_mid) | |
| setCurrentServer (ilECSSetting $server=null) | |
| Set current server. More... | |
| getCurrentServer () | |
| Get current server. More... | |
| getServerSettings () | |
| Get server settings. More... | |
| fetchData ($a_username, $a_pass) | |
| Check for valid ecs_hash. More... | |
| validateHash () | |
| Validate ECS hash. More... | |
| loginObserver ($a_username, $a_auth) | |
| Called from base class after successful login. More... | |
| failedLoginObserver () | |
| Called from base class after failed login. More... | |
Protected Member Functions | |
| createUser (ilECSUser $user) | |
| create new user More... | |
| updateUser (ilECSUser $user, $a_local_user_id) | |
| update existing user More... | |
| resetMailOptions ($a_usr_id) | |
| Reset mail options to "local only". More... | |
Protected Attributes | |
| $mid = null | |
| $abreviation = null | |
| $currentServer = null | |
| $servers = null | |
| $log | |
Private Member Functions | |
| initECSServices () | |
| Init ECS Services @access private. More... | |
| sendNotification ($user_obj) | |
| Send notification. More... | |
Custom PEAR Auth Container for ECS auth checks.
Definition at line 34 of file class.ilAuthContainerECS.php.
| ilAuthContainerECS::__construct | ( | $a_params = array() | ) |
Constructor.
@access public
Definition at line 51 of file class.ilAuthContainerECS.php.
References $GLOBALS, and initECSServices().
Here is the call graph for this function:
|
protected |
create new user
@access protected
Definition at line 277 of file class.ilAuthContainerECS.php.
References $ilLog, $ilSetting, ilAuthUtils\_generateLogin(), ilObject\_writeImportId(), getAbreviation(), getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilECSUser\getLogin(), IL_PASSWD_CRYPTED, and resetMailOptions().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthContainerECS::failedLoginObserver | ( | ) |
Called from base class after failed login.
| string | username |
Definition at line 264 of file class.ilAuthContainerECS.php.
| ilAuthContainerECS::fetchData | ( | $a_username, | |
| $a_pass | |||
| ) |
Check for valid ecs_hash.
| string | $a_username | |
| string | $a_pass |
Definition at line 119 of file class.ilAuthContainerECS.php.
References $GLOBALS, $ilLog, $server, getServerSettings(), setCurrentServer(), and validateHash().
Here is the call graph for this function:| ilAuthContainerECS::getAbreviation | ( | ) |
get abbreviation
@access public
Definition at line 67 of file class.ilAuthContainerECS.php.
References $abreviation.
Referenced by createUser().
Here is the caller graph for this function:| ilAuthContainerECS::getCurrentServer | ( | ) |
Get current server.
Definition at line 100 of file class.ilAuthContainerECS.php.
References $currentServer.
Referenced by createUser(), loginObserver(), sendNotification(), updateUser(), and validateHash().
Here is the caller graph for this function:| ilAuthContainerECS::getMID | ( | ) |
get mid
@access public
Definition at line 77 of file class.ilAuthContainerECS.php.
References $mid.
Referenced by loginObserver().
Here is the caller graph for this function:| ilAuthContainerECS::getServerSettings | ( | ) |
Get server settings.
Definition at line 109 of file class.ilAuthContainerECS.php.
References $servers.
Referenced by fetchData().
Here is the caller graph for this function:
|
private |
Init ECS Services @access private.
Definition at line 397 of file class.ilAuthContainerECS.php.
References ilECSServerSettings\getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthContainerECS::loginObserver | ( | $a_username, | |
| $a_auth | |||
| ) |
Called from base class after successful login.
| string | username |
Definition at line 223 of file class.ilAuthContainerECS.php.
References $_GET, $GLOBALS, ilObjUser\_lookupId(), ilObject\_lookupObjIdByImportId(), createUser(), getCurrentServer(), getMID(), and updateUser().
Here is the call graph for this function:
|
protected |
Reset mail options to "local only".
Definition at line 382 of file class.ilAuthContainerECS.php.
References $options, and ilMailOptions\INCOMING_LOCAL.
Referenced by createUser(), and updateUser().
Here is the caller graph for this function:
|
private |
Send notification.
@access private
Definition at line 410 of file class.ilAuthContainerECS.php.
References $GLOBALS, $lang, ilMail\_getAutoGeneratedMessageString(), ilLanguageFactory\_getLanguage(), and getCurrentServer().
Here is the call graph for this function:| ilAuthContainerECS::setCurrentServer | ( | ilECSSetting | $server = null | ) |
Set current server.
| ilECSSetting | $server |
Definition at line 91 of file class.ilAuthContainerECS.php.
References $server.
Referenced by fetchData().
Here is the caller graph for this function:| ilAuthContainerECS::setMID | ( | $a_mid | ) |
Definition at line 82 of file class.ilAuthContainerECS.php.
Referenced by validateHash().
Here is the caller graph for this function:
|
protected |
update existing user
@access protected
Definition at line 344 of file class.ilAuthContainerECS.php.
References $ilLog, getCurrentServer(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), and resetMailOptions().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthContainerECS::validateHash | ( | ) |
Validate ECS hash.
@access public
| string | username |
| string | pass |
Definition at line 151 of file class.ilAuthContainerECS.php.
References $_GET, $GLOBALS, $ilLog, $reader, $res, getCurrentServer(), ilECSCommunityReader\getInstanceByServerId(), and setMID().
Referenced by fetchData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilAuthContainerECS.php.
Referenced by getAbreviation().
|
protected |
Definition at line 39 of file class.ilAuthContainerECS.php.
Referenced by getCurrentServer().
|
protected |
Definition at line 42 of file class.ilAuthContainerECS.php.
|
protected |
Definition at line 36 of file class.ilAuthContainerECS.php.
Referenced by getMID().
|
protected |
Definition at line 40 of file class.ilAuthContainerECS.php.
Referenced by getServerSettings().