ILIAS
Release_3_10_x_branch Revision 61812
|
Auth LDAP overwrites PEAR Auth to perform LDAP authentication with specific ILIAS options. More...
Public Member Functions | |
ilAuthLDAP ($options= '') | |
forceCreation ($a_status) | |
Force creation of user accounts. |
Protected Member Functions | |
loginObserver ($a_username) | |
Called from base class after successful login. | |
failedLoginObserver () | |
Called from base class after failed login. | |
extractUserName ($a_user_data) | |
updateRequired ($a_username) | |
Check if an update is required. |
Private Member Functions | |
initLDAPAttributeToUser () | |
Init LDAP attribute mapping. | |
initServer () | |
initContainer () | |
Init overwritten. | |
setCallbacks () | |
Set callback function for PEAR Auth. | |
initLogObserver () | |
Init Log observer. |
Private Attributes | |
$ldap_server = null | |
$ldap_container = null | |
$ldap_attr_to_user = null | |
$log = null | |
$logCache = '' | |
$force_creation = false |
Auth LDAP overwrites PEAR Auth to perform LDAP authentication with specific ILIAS options.
FIXME - Cass ilAuthContainerLDAP contains duplicates of the code of this class in the functions loginObserver, failedLoginObserver, and initLDAPAttributeToUser. If you do changes in these functions, you MUST do corresponding changes in ilAuthContainerLDAP. In a future revision of ILIAS, the class ilAuthLDAP should be removed.
Definition at line 41 of file class.ilAuthLDAP.php.
|
protected |
array | array of user data |
Definition at line 268 of file class.ilAuthLDAP.php.
References ilObjUser\_checkExternalAuthAccount().
Referenced by loginObserver().
|
protected |
Called from base class after failed login.
string | username |
Definition at line 174 of file class.ilAuthLDAP.php.
References $ilLog.
ilAuthLDAP::forceCreation | ( | $a_status | ) |
Force creation of user accounts.
public
bool | force_creation |
Definition at line 87 of file class.ilAuthLDAP.php.
ilAuthLDAP::ilAuthLDAP | ( | $options = '' | ) |
Definition at line 52 of file class.ilAuthLDAP.php.
References $ilLog, initContainer(), initLogObserver(), initServer(), and setCallbacks().
|
private |
Init overwritten.
private
Definition at line 216 of file class.ilAuthLDAP.php.
Referenced by ilAuthLDAP().
|
private |
Init LDAP attribute mapping.
private
Definition at line 196 of file class.ilAuthLDAP.php.
Referenced by loginObserver().
|
private |
Init Log observer.
private
Definition at line 239 of file class.ilAuthLDAP.php.
References $ilLog.
Referenced by ilAuthLDAP().
|
private |
Definition at line 202 of file class.ilAuthLDAP.php.
References ilLDAPServer\_getFirstActiveServer().
Referenced by ilAuthLDAP().
|
protected |
Called from base class after successful login.
string | username |
Definition at line 97 of file class.ilAuthLDAP.php.
References $_SESSION, $force_creation, $ilBench, $ilLog, ilObjUser\_checkExternalAuthAccount(), ilLDAPRoleAssignments\_getInstanceByServer(), AUTH_LDAP_NO_ILIAS_USER, extractUserName(), initLDAPAttributeToUser(), ilUtil\redirect(), and updateRequired().
|
private |
Set callback function for PEAR Auth.
Definition at line 226 of file class.ilAuthLDAP.php.
Referenced by ilAuthLDAP().
|
protected |
Check if an update is required.
string | $a_username |
Definition at line 296 of file class.ilAuthLDAP.php.
References ilObjUser\_checkExternalAuthAccount(), and ilLDAPAttributeMapping\hasRulesForUpdate().
Referenced by loginObserver().
|
private |
Definition at line 49 of file class.ilAuthLDAP.php.
Referenced by loginObserver().
|
private |
Definition at line 45 of file class.ilAuthLDAP.php.
|
private |
Definition at line 44 of file class.ilAuthLDAP.php.
|
private |
Definition at line 43 of file class.ilAuthLDAP.php.
|
private |
Definition at line 46 of file class.ilAuthLDAP.php.
|
private |
Definition at line 47 of file class.ilAuthLDAP.php.