|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\AuthApache\AuthProviderApache:
Collaboration diagram for ILIAS\AuthApache\AuthProviderApache:Public Member Functions | |
| __construct (ilAuthCredentials $credentials) | |
| doAuthentication (ilAuthStatus $status) | |
| migrateAccount (ilAuthStatus $status) | |
| Create new account. More... | |
| createNewAccount (ilAuthStatus $status) | |
| Create new ILIAS account for external_account. More... | |
| getExternalAccountName () | |
| Get external account name. More... | |
| setExternalAccountName (string $name) | |
| 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... | |
Public Member Functions inherited from ilAuthProvider | |
| __construct (ilAuthCredentials $credentials) | |
| getLogger () | |
| getCredentials () | |
| doAuthentication (ilAuthStatus $status) | |
| 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... | |
Data Fields | |
| const int | APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
| const int | APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
| const int | APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Private Member Functions | |
| handleLDAPDataSource (ilAuthStatus $status) | |
Private Attributes | |
| const string | ENV_APACHE_AUTH_INDICATOR_NAME = 'apache_auth_indicator_name' |
| const string | ENV_APACHE_AUTH_INDICATOR_VALUE = 'apache_auth_indicator_value' |
| const string | ERR_WRONG_LOGIN = 'err_wrong_login' |
| const string | APACHE_ENABLE_LDAP = 'apache_enable_ldap' |
| const string | APACHE_LDAP_SID = 'apache_ldap_sid' |
| readonly ilSetting | $settings |
| string | $migration_account = '' |
| bool | $force_new_account = false |
Additional Inherited Members | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
Definition at line 37 of file AuthProviderApache.php.
| ILIAS\AuthApache\AuthProviderApache::__construct | ( | ilAuthCredentials | $credentials | ) |
Reimplemented from ilAuthProvider.
Definition at line 55 of file AuthProviderApache.php.
References ilAuthProvider\$credentials, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ILIAS\AuthApache\AuthProviderApache::createNewAccount | ( | ilAuthStatus | $status | ) |
Create new ILIAS account for external_account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 135 of file AuthProviderApache.php.
References ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ILIAS\AuthApache\AuthProviderApache::doAuthentication | ( | ilAuthStatus | $status | ) |
Implements ilAuthProviderInterface.
Definition at line 61 of file AuthProviderApache.php.
References $_SERVER, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilUtil\isLogin(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ILIAS\AuthApache\AuthProviderApache::getExternalAccountName | ( | ) |
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 143 of file AuthProviderApache.php.
References ILIAS\AuthApache\AuthProviderApache\$migration_account.
| ILIAS\AuthApache\AuthProviderApache::getTriggerAuthMode | ( | ) |
Get auth mode which triggered the account migration 2_1 for ldap account migration with server id 1 11 for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 153 of file AuthProviderApache.php.
References ilAuthUtils\AUTH_APACHE.
| ILIAS\AuthApache\AuthProviderApache::getUserAuthModeName | ( | ) |
Get user auth mode name ldap_1 for ldap account migration with server id 1 apache for apache auth.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 158 of file AuthProviderApache.php.
References ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 167 of file AuthProviderApache.php.
References Vendor\Package\$e, $server, ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilLDAPServer\getInstanceByServerId(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), ILIAS\AuthApache\AuthProviderApache\setExternalAccountName(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by ILIAS\AuthApache\AuthProviderApache\createNewAccount(), ILIAS\AuthApache\AuthProviderApache\doAuthentication(), and ILIAS\AuthApache\AuthProviderApache\migrateAccount().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\AuthApache\AuthProviderApache::migrateAccount | ( | ilAuthStatus | $status | ) |
Create new account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 127 of file AuthProviderApache.php.
References ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ILIAS\AuthApache\AuthProviderApache::setExternalAccountName | ( | string | $name | ) |
Definition at line 148 of file AuthProviderApache.php.
Referenced by ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource().
Here is the caller graph for this function:
|
private |
Definition at line 53 of file AuthProviderApache.php.
|
private |
Definition at line 52 of file AuthProviderApache.php.
Referenced by ILIAS\AuthApache\AuthProviderApache\getExternalAccountName().
|
private |
Definition at line 51 of file AuthProviderApache.php.
| const int ILIAS\AuthApache\AuthProviderApache::APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Definition at line 41 of file AuthProviderApache.php.
Referenced by ILIAS\AuthApache\AuthFrontendCredentialsApache\initFromRequest().
| const int ILIAS\AuthApache\AuthProviderApache::APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
Definition at line 39 of file AuthProviderApache.php.
Referenced by ILIAS\AuthApache\AuthFrontendCredentialsApache\initFromRequest().
| const int ILIAS\AuthApache\AuthProviderApache::APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
Definition at line 40 of file AuthProviderApache.php.
|
private |
Definition at line 48 of file AuthProviderApache.php.
|
private |
Definition at line 49 of file AuthProviderApache.php.
|
private |
Definition at line 43 of file AuthProviderApache.php.
|
private |
Definition at line 44 of file AuthProviderApache.php.
|
private |
Definition at line 46 of file AuthProviderApache.php.