ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilAuthCredentials $credentials, int $a_server_id=0) | |
getServer () | |
doAuthentication (ilAuthStatus $status) | |
createNewAccount (ilAuthStatus $status) | |
migrateAccount (ilAuthStatus $status) | |
getTriggerAuthMode () | |
getUserAuthModeName () | |
getExternalAccountName () | |
setExternalAccountName (string $a_name) | |
![]() | |
__construct (ilAuthCredentials $credentials) | |
Constructor. More... | |
getLogger () | |
Get logger. More... | |
getCredentials () | |
![]() | |
doAuthentication (\ilAuthStatus $status) | |
Do authentication. More... | |
Protected Member Functions | |
updateAccount (ilAuthStatus $status, array $user) | |
Update Account. More... | |
initServer (int $a_server_id) | |
changeKeyCase (string $a_string) | |
Change case similar to array_change_key_case, to avoid further encoding problems. More... | |
![]() | |
handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
Handle failed authentication. More... | |
Private Attributes | |
ilLDAPServer | $server |
string | $migration_account = '' |
bool | $force_new_account = false |
Definition at line 26 of file class.ilAuthProviderLDAP.php.
ilAuthProviderLDAP::__construct | ( | ilAuthCredentials | $credentials, |
int | $a_server_id = 0 |
||
) |
Definition at line 32 of file class.ilAuthProviderLDAP.php.
References ILIAS\GlobalScreen\Provider\__construct(), and initServer().
|
protected |
Change case similar to array_change_key_case, to avoid further encoding problems.
Definition at line 245 of file class.ilAuthProviderLDAP.php.
Referenced by createNewAccount(), doAuthentication(), and migrateAccount().
ilAuthProviderLDAP::createNewAccount | ( | ilAuthStatus | $status | ) |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 157 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), and updateAccount().
ilAuthProviderLDAP::doAuthentication | ( | ilAuthStatus | $status | ) |
Definition at line 46 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), ilLDAPQuery\LDAP_BIND_AUTH, and updateAccount().
ilAuthProviderLDAP::getExternalAccountName | ( | ) |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 231 of file class.ilAuthProviderLDAP.php.
References $migration_account.
ilAuthProviderLDAP::getServer | ( | ) |
Definition at line 38 of file class.ilAuthProviderLDAP.php.
References $server.
Referenced by createNewAccount(), doAuthentication(), getTriggerAuthMode(), getUserAuthModeName(), migrateAccount(), and updateAccount().
ilAuthProviderLDAP::getTriggerAuthMode | ( | ) |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 215 of file class.ilAuthProviderLDAP.php.
References ilAuthUtils\AUTH_LDAP, and getServer().
ilAuthProviderLDAP::getUserAuthModeName | ( | ) |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 223 of file class.ilAuthProviderLDAP.php.
References getServer().
|
protected |
Definition at line 149 of file class.ilAuthProviderLDAP.php.
Referenced by __construct().
ilAuthProviderLDAP::migrateAccount | ( | ilAuthStatus | $status | ) |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 195 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), and updateAccount().
ilAuthProviderLDAP::setExternalAccountName | ( | string | $a_name | ) |
Definition at line 236 of file class.ilAuthProviderLDAP.php.
Referenced by updateAccount().
|
protected |
Update Account.
Definition at line 109 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, ilObjUser\_lookupId(), ilLogLevel\DEBUG, ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), setExternalAccountName(), ilAuthStatus\setStatus(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by createNewAccount(), doAuthentication(), and migrateAccount().
|
private |
Definition at line 30 of file class.ilAuthProviderLDAP.php.
|
private |
Definition at line 29 of file class.ilAuthProviderLDAP.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 28 of file class.ilAuthProviderLDAP.php.
Referenced by getServer().