ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Overwritten Pear class AuthContainerLDAP This class is overwritten to support nested groups. More...
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.
public
int | ldap server id |
Definition at line 54 of file class.ilAuthContainerLDAP.php.
References $ilLog, ilLDAPServer\_getFirstActiveServer(), ilLDAPServer\getInstanceByServerId(), and ilLoggerFactory\getLogger().
ilAuthContainerLDAP::checkGroup | ( | $a_name | ) |
check group overwritten base class
public
string | user name (DN or external account name) |
Definition at line 146 of file class.ilAuthContainerLDAP.php.
References $optional_check.
ilAuthContainerLDAP::enabledOptionalGroupCheck | ( | ) |
Check if optional group check is enabled.
public
Definition at line 98 of file class.ilAuthContainerLDAP.php.
References $optional_check.
Referenced by fetchData().
ilAuthContainerLDAP::enableOptionalGroupCheck | ( | ) |
enable optional group check
public
Definition at line 86 of file class.ilAuthContainerLDAP.php.
References updateUserFilter().
Referenced by fetchData().
|
protected |
Definition at line 258 of file class.ilAuthContainerLDAP.php.
References ilObjUser\_checkExternalAuthAccount().
Referenced by loginObserver().
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().
ilAuthContainerLDAP::forceCreation | ( | $a_status | ) |
Definition at line 74 of file class.ilAuthContainerLDAP.php.
|
private |
Init LDAP attribute mapping.
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(), ilUtil\redirect(), and ilLDAPUserSynchronisation\setExternalAccount().
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(), ilLDAPRoleAssignmentRule\hasRulesForUpdate(), and ilLDAPAttributeMapping\hasRulesForUpdate().
|
private |
Update user filter.
private
Definition at line 182 of file class.ilAuthContainerLDAP.php.
Referenced by enableOptionalGroupCheck().
|
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 checkGroup(), and enabledOptionalGroupCheck().
|
private |
Definition at line 43 of file class.ilAuthContainerLDAP.php.