|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Apache auth provider. More...
Inheritance diagram for ilAuthProviderApache:
Collaboration diagram for ilAuthProviderApache: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) | |
| Constructor. More... | |
| getLogger () | |
| Get logger. More... | |
| getCredentials () | |
Public Member Functions inherited from ilAuthProviderInterface | |
| doAuthentication (\ilAuthStatus $status) | |
| Do authentication. More... | |
Data Fields | |
| const | APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
| const | APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
| const | APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Private Member Functions | |
| handleLDAPDataSource (ilAuthStatus $status) | |
Private Attributes | |
| const | ENV_APACHE_AUTH_INDICATOR_NAME = 'apache_auth_indicator_name' |
| const | ERR_WRONG_LOGIN = 'err_wrong_login' |
| const | APACHE_ENABLE_LDAP = 'apache_enable_ldap' |
| const | APACHE_LDAP_SID = 'apache_ldap_sid' |
| 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) | |
| Handle failed authentication. More... | |
Apache auth provider.
Definition at line 24 of file class.ilAuthProviderApache.php.
| ilAuthProviderApache::__construct | ( | ilAuthCredentials | $credentials | ) |
Definition at line 41 of file class.ilAuthProviderApache.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAuthProviderApache::createNewAccount | ( | ilAuthStatus | $status | ) |
Create new ILIAS account for external_account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 116 of file class.ilAuthProviderApache.php.
References handleLDAPDataSource(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAuthProviderApache::doAuthentication | ( | ilAuthStatus | $status | ) |
Definition at line 47 of file class.ilAuthProviderApache.php.
References $_SERVER, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), handleLDAPDataSource(), ilUtil\isLogin(), ilAuthStatus\setAuthenticatedUserId(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ilAuthProviderApache::getExternalAccountName | ( | ) |
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 124 of file class.ilAuthProviderApache.php.
References $migration_account.
| ilAuthProviderApache::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 134 of file class.ilAuthProviderApache.php.
References ilAuthUtils\AUTH_APACHE.
| ilAuthProviderApache::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 139 of file class.ilAuthProviderApache.php.
References ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 148 of file class.ilAuthProviderApache.php.
References Vendor\Package\$e, $server, ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilLDAPServer\getInstanceByServerId(), ilAuthProvider\getLogger(), ilAuthProvider\handleAuthenticationFail(), ilAuthStatus\setAuthenticatedUserId(), ilLDAPUserSynchronisation\setExternalAccount(), setExternalAccountName(), ilAuthStatus\setStatus(), ILIAS\Repository\settings(), 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:| ilAuthProviderApache::migrateAccount | ( | ilAuthStatus | $status | ) |
Create new account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 108 of file class.ilAuthProviderApache.php.
References handleLDAPDataSource(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAuthProviderApache::setExternalAccountName | ( | string | $name | ) |
Definition at line 129 of file class.ilAuthProviderApache.php.
Referenced by handleLDAPDataSource().
Here is the caller graph for this function:
|
private |
Definition at line 39 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 38 of file class.ilAuthProviderApache.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 37 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Definition at line 28 of file class.ilAuthProviderApache.php.
Referenced by ilAuthFrontendCredentialsApache\initFromRequest().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
Definition at line 26 of file class.ilAuthProviderApache.php.
Referenced by ilAuthFrontendCredentialsApache\initFromRequest().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
Definition at line 27 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 34 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 35 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 30 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 32 of file class.ilAuthProviderApache.php.