| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Custom PEAR Auth Container for ECS auth checks. More...
 Inheritance diagram for ilAuthContainerECS:
 Inheritance diagram for ilAuthContainerECS: Collaboration diagram for ilAuthContainerECS:
 Collaboration diagram for ilAuthContainerECS:| Public Member Functions | |
| __construct ($a_params=array()) | |
| Constructor. | |
| getAbreviation () | |
| get abbreviation | |
| getMID () | |
| get mid | |
| fetchData ($a_username, $a_pass) | |
| fetch data | |
| loginObserver ($a_username, $a_auth) | |
| Called from base class after successful login. | |
| failedLoginObserver () | |
| Called from base class after failed login. | |
|  Public Member Functions inherited from Auth_Container | |
| Auth_Container () | |
| Constructor. | |
| fetchData ($username, $password, $isChallengeResponse=false) | |
| Fetch data from storage container. | |
| verifyPassword ($password1, $password2, $cryptType="md5") | |
| Crypt and verfiy the entered password. | |
| supportsChallengeResponse () | |
| Returns true if the container supports Challenge Response password authentication. | |
| getCryptType () | |
| Returns the crypt current crypt type of the container. | |
| listUsers () | |
| List all users that are available from the storage container. | |
| getUser ($username) | |
| Returns a user assoc array. | |
| addUser ($username, $password, $additional=null) | |
| Add a new user to the storage container. | |
| removeUser ($username) | |
| Remove user from the storage container. | |
| changePassword ($username, $password) | |
| Change password for user in the storage container. | |
| log ($message, $level=AUTH_LOG_DEBUG) | |
| Log a message to the Auth log. | |
|  Public Member Functions inherited from ilAuthContainerBase | |
| failedLoginObserver ($a_username, $a_auth) | |
| Called after failed login. | |
| checkAuthObserver ($a_username, $a_auth) | |
| Called after check auth requests. | |
| logoutObserver ($a_username, $a_auth) | |
| Called after logout. | |
| Protected Member Functions | |
| createUser (ilECSUser $user) | |
| create new user | |
| updateUser (ilECSUser $user, $a_local_user_id) | |
| update existing user | |
| Protected Attributes | |
| $mid = null | |
| $abreviation = null | |
| $log | |
| Private Member Functions | |
| initSettings () | |
| init ecs settings | |
| initECSServices () | |
| Init ECS Services  private. | |
| sendNotification ($user_obj) | |
| Send notification. | |
| Additional Inherited Members | |
|  Data Fields inherited from Auth_Container | |
| $activeUser = "" | |
| User that is currently selected from the storage container. | |
| $_auth_obj = null | |
| The Auth object this container is attached to. | |
Custom PEAR Auth Container for ECS auth checks.
Definition at line 34 of file class.ilAuthContainerECS.php.
| ilAuthContainerECS::__construct | ( | $a_params = array() | ) | 
Constructor.
public
Definition at line 48 of file class.ilAuthContainerECS.php.
References $GLOBALS, initECSServices(), and Auth_Container\log().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
create new user
protected
Definition at line 169 of file class.ilAuthContainerECS.php.
References $ilLog, $ilSetting, ilAuthUtils\_generateLogin(), ilObject\_writeImportId(), getAbreviation(), ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), ilECSUser\getLogin(), IL_PASSWD_MD5, and initSettings().
Referenced by loginObserver().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 156 of file class.ilAuthContainerECS.php.
References Auth_Container\log().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAuthContainerECS::fetchData | ( | $a_username, | |
| $a_pass | |||
| ) | 
fetch data
public
| string | username | 
| string | pass | 
Definition at line 87 of file class.ilAuthContainerECS.php.
References $_GET, $ilLog, and $res.
| ilAuthContainerECS::getAbreviation | ( | ) | 
get abbreviation
public
Definition at line 63 of file class.ilAuthContainerECS.php.
References $abreviation.
Referenced by createUser().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAuthContainerECS::getMID | ( | ) | 
| 
 | private | 
Init ECS Services private.
Definition at line 283 of file class.ilAuthContainerECS.php.
References ilECSSettings\_getInstance().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
init ecs settings
private
Definition at line 270 of file class.ilAuthContainerECS.php.
References ilECSSettings\_getInstance().
Referenced by createUser(), and updateUser().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 | 
Reimplemented from ilAuthContainerBase.
Definition at line 131 of file class.ilAuthContainerECS.php.
References $_GET, $user, $usr_id, ilObject\_lookupObjIdByImportId(), createUser(), Auth_Container\log(), and updateUser().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Send notification.
private
Definition at line 296 of file class.ilAuthContainerECS.php.
References $GLOBALS, $lang, ilMail\_getAutoGeneratedMessageString(), and ilLanguageFactory\_getLanguage().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
update existing user
protected
Definition at line 233 of file class.ilAuthContainerECS.php.
References $ilLog, ilECSUser\getEmail(), ilECSUser\getFirstname(), ilECSUser\getImportId(), ilECSUser\getInstitution(), ilECSUser\getLastname(), and initSettings().
Referenced by loginObserver().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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.
| 
 | protected | 
Definition at line 36 of file class.ilAuthContainerECS.php.
Referenced by getMID().