|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Description of class class. More...
Inheritance diagram for ilAuthProviderLDAP:
Collaboration diagram for ilAuthProviderLDAP:Public Member Functions | |||
| __construct (\ilAuthCredentials $credentials, $a_server_id=0) | |||
| Constructor. More... | |||
| getServer () | |||
| Get server. More... | |||
| doAuthentication (\ilAuthStatus $status) | |||
| Do authentication. More... | |||
| createNewAccount (ilAuthStatus $status) | |||
Create new ILIAS account for external_account.
| |||
| migrateAccount (ilAuthStatus $status) | |||
Create new account.
| |||
| getTriggerAuthMode () | |||
| Get trigger auth mode. More... | |||
| getUserAuthModeName () | |||
| Get user auth mode name. More... | |||
| getExternalAccountName () | |||
| Get external account name. More... | |||
| setExternalAccountName ($a_name) | |||
| Set external account name. More... | |||
Public Member Functions inherited from ilAuthProvider | |||
| __construct (ilAuthCredentials $credentials) | |||
| Constructor. More... | |||
| getLogger () | |||
| Get logger. More... | |||
| getCredentials () | |||
| doAuthentication (\ilAuthStatus $status) | |||
| Do authentication. More... | |||
| getTriggerAuthMode () | |||
| Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth. More... | |||
| getUserAuthModeName () | |||
| Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth. More... | |||
| getExternalAccountName () | |||
| Get external account name. More... | |||
| migrateAccount (ilAuthStatus $status) | |||
| Create new account. More... | |||
| createNewAccount (ilAuthStatus $status) | |||
| Create new ILIAS account for external_account. More... | |||
Protected Member Functions | |
| updateAccount (ilAuthStatus $status, array $user) | |
| Update Account. More... | |
| initServer ($a_server_id) | |
| Init Server. More... | |
| changeKeyCase ($a_string) | |
| Change case similar to array_change_key_case, to avoid further encoding problems. More... | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
| Handle failed authentication. More... | |
Private Attributes | |
| $server = null | |
| $migration_account = '' | |
| $force_new_account = false | |
Additional Inherited Members | |
Data Fields inherited from ilAuthProvider | |
| const | STATUS_UNDEFINED = 0 |
| const | STATUS_AUTHENTICATION_SUCCESS = 1 |
| const | STATUS_AUTHENTICATION_FAILED = 2 |
| const | STATUS_MIGRATION = 3 |
Description of class class.
Definition at line 15 of file class.ilAuthProviderLDAP.php.
| ilAuthProviderLDAP::__construct | ( | \ilAuthCredentials | $credentials, |
$a_server_id = 0 |
|||
| ) |
Constructor.
| \ilAuthCredentials | $credentials |
Definition at line 25 of file class.ilAuthProviderLDAP.php.
References ilAuthProvider\$credentials, ILIAS\GlobalScreen\Provider\__construct(), and initServer().
Here is the call graph for this function:
|
protected |
Change case similar to array_change_key_case, to avoid further encoding problems.
| string | $a_string |
Definition at line 260 of file class.ilAuthProviderLDAP.php.
Referenced by createNewAccount(), doAuthentication(), and migrateAccount().
Here is the caller graph for this function:| ilAuthProviderLDAP::createNewAccount | ( | ilAuthStatus | $status | ) |
Create new ILIAS account for external_account.
| ilAuthStatus |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 161 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), IL_LDAP_BIND_DEFAULT, and updateAccount().
Here is the call graph for this function:| ilAuthProviderLDAP::doAuthentication | ( | \ilAuthStatus | $status | ) |
Do authentication.
| \ilAuthStatus | $status |
Implements ilAuthProviderInterface.
Definition at line 45 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), IL_LDAP_BIND_AUTH, IL_LDAP_BIND_DEFAULT, and updateAccount().
Here is the call graph for this function:| ilAuthProviderLDAP::getExternalAccountName | ( | ) |
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 241 of file class.ilAuthProviderLDAP.php.
References $migration_account.
| ilAuthProviderLDAP::getServer | ( | ) |
Get server.
Definition at line 35 of file class.ilAuthProviderLDAP.php.
References $server.
Referenced by createNewAccount(), doAuthentication(), getTriggerAuthMode(), getUserAuthModeName(), migrateAccount(), and updateAccount().
Here is the caller graph for this function:| ilAuthProviderLDAP::getTriggerAuthMode | ( | ) |
Get trigger auth mode.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 224 of file class.ilAuthProviderLDAP.php.
References AUTH_LDAP, and getServer().
Here is the call graph for this function:| ilAuthProviderLDAP::getUserAuthModeName | ( | ) |
Get user auth mode name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 232 of file class.ilAuthProviderLDAP.php.
References getServer().
Here is the call graph for this function:
|
protected |
Init Server.
Definition at line 150 of file class.ilAuthProviderLDAP.php.
Referenced by __construct().
Here is the caller graph for this function:| ilAuthProviderLDAP::migrateAccount | ( | ilAuthStatus | $status | ) |
Create new account.
| ilAuthStatus |
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 202 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, $query, changeKeyCase(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), IL_LDAP_BIND_DEFAULT, and updateAccount().
Here is the call graph for this function:| ilAuthProviderLDAP::setExternalAccountName | ( | $a_name | ) |
Set external account name.
| string | $a_name |
Definition at line 250 of file class.ilAuthProviderLDAP.php.
Referenced by updateAccount().
Here is the caller graph for this function:
|
protected |
Update Account.
| array | $user |
Definition at line 107 of file class.ilAuthProviderLDAP.php.
References Vendor\Package\$e, ilAuthProvider\$status, ilObjUser\_lookupId(), ilLogLevel\DEBUG, ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getServer(), ilAuthProvider\handleAuthenticationFail(), setExternalAccountName(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by createNewAccount(), doAuthentication(), and migrateAccount().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 19 of file class.ilAuthProviderLDAP.php.
|
private |
Definition at line 18 of file class.ilAuthProviderLDAP.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 17 of file class.ilAuthProviderLDAP.php.
Referenced by getServer().