|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Overwritten Pear class AuthContainerLDAP This class is overwritten to support nested groups. More...
Inheritance diagram for ilAuthContainerLDAP:
Collaboration diagram for ilAuthContainerLDAP:Public Member Functions | |
| __construct ($a_server_id=null) | |
| Constructor. More... | |
| forceCreation ($a_status) | |
| enableOptionalGroupCheck () | |
| enable optional group check More... | |
| enabledOptionalGroupCheck () | |
| Check if optional group check is enabled. More... | |
| fetchData ($username, $password) | |
| Overwritten from base class. More... | |
| checkGroup ($a_name) | |
| check group overwritten base class More... | |
| loginObserver ($a_username, $a_auth) | |
| Called from fetchData after successful login. More... | |
| failedLoginObserver ($a_username, $a_auth) | |
| Called from fetchData after failed login. More... | |
| supportsCaptchaVerification () | |
Protected Member Functions | |
| extractUserName ($a_user_data) | |
| updateRequired ($a_username) | |
| Check if an update is required. More... | |
Private Member Functions | |
| updateUserFilter () | |
| Update user filter. More... | |
| initLDAPAttributeToUser () | |
| Init LDAP attribute mapping. More... | |
Private Attributes | |
| $optional_check = false | |
| $log = null | |
| $server = null | |
| $ldap_attr_to_user = null | |
Static Private Attributes | |
| static | $force_creation = false |
Overwritten Pear class AuthContainerLDAP This class is overwritten to support nested groups.
Definition at line 36 of file class.ilAuthContainerLDAP.php.
| ilAuthContainerLDAP::__construct | ( | $a_server_id = null | ) |
Constructor.
@access public
| int | ldap server id |
Definition at line 54 of file class.ilAuthContainerLDAP.php.
References $ilLog, ilLDAPServer\_getFirstActiveServer(), ilLDAPServer\getInstanceByServerId(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilAuthContainerLDAP::checkGroup | ( | $a_name | ) |
check group overwritten base class
@access public
| string | user name (DN or external account name) |
Definition at line 146 of file class.ilAuthContainerLDAP.php.
| ilAuthContainerLDAP::enabledOptionalGroupCheck | ( | ) |
Check if optional group check is enabled.
@access public
Definition at line 98 of file class.ilAuthContainerLDAP.php.
References $optional_check.
Referenced by fetchData().
Here is the caller graph for this function:| ilAuthContainerLDAP::enableOptionalGroupCheck | ( | ) |
enable optional group check
@access public
Definition at line 86 of file class.ilAuthContainerLDAP.php.
References updateUserFilter().
Referenced by fetchData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
return string ldap username
Definition at line 258 of file class.ilAuthContainerLDAP.php.
References ilObjUser\_checkExternalAuthAccount().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthContainerLDAP::failedLoginObserver | ( | $a_username, | |
| $a_auth | |||
| ) |
Called from fetchData after failed login.
| string | username |
| object | PEAR auth object |
Definition at line 248 of file class.ilAuthContainerLDAP.php.
| ilAuthContainerLDAP::fetchData | ( | $username, | |
| $password | |||
| ) |
Overwritten from base class.
| object | $username | |
| object | $password |
Definition at line 109 of file class.ilAuthContainerLDAP.php.
References $res, enabledOptionalGroupCheck(), enableOptionalGroupCheck(), and PEAR\isError().
Here is the call graph for this function:| ilAuthContainerLDAP::forceCreation | ( | $a_status | ) |
Definition at line 74 of file class.ilAuthContainerLDAP.php.
|
private |
Init LDAP attribute mapping.
@access private
Definition at line 237 of file class.ilAuthContainerLDAP.php.
| ilAuthContainerLDAP::loginObserver | ( | $a_username, | |
| $a_auth | |||
| ) |
Called from fetchData after successful login.
| string | username |
Definition at line 192 of file class.ilAuthContainerLDAP.php.
References $ilLog, AUTH_LDAP_NO_ILIAS_USER, extractUserName(), and ilUtil\redirect().
Here is the call graph for this function:| ilAuthContainerLDAP::supportsCaptchaVerification | ( | ) |
Definition at line 312 of file class.ilAuthContainerLDAP.php.
|
protected |
Check if an update is required.
| string | $a_username |
Definition at line 286 of file class.ilAuthContainerLDAP.php.
References ilObjUser\_checkExternalAuthAccount(), ilLDAPAttributeMapping\hasRulesForUpdate(), and ilLDAPRoleAssignmentRule\hasRulesForUpdate().
Here is the call graph for this function:
|
private |
Update user filter.
@access private
Definition at line 182 of file class.ilAuthContainerLDAP.php.
Referenced by enableOptionalGroupCheck().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 38 of file class.ilAuthContainerLDAP.php.
|
private |
Definition at line 44 of file class.ilAuthContainerLDAP.php.
|
private |
Definition at line 42 of file class.ilAuthContainerLDAP.php.
|
private |
Definition at line 40 of file class.ilAuthContainerLDAP.php.
Referenced by enabledOptionalGroupCheck().
|
private |
Definition at line 43 of file class.ilAuthContainerLDAP.php.