|
ILIAS
release_8 Revision v8.24
|
Apache auth provider. More...
Inheritance diagram for ilAuthProviderApache:
Collaboration diagram for ilAuthProviderApache:Public Member Functions | |
| __construct (ilAuthCredentials $credentials) | |
| Constructor. More... | |
| 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... | |
| 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 | APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
| const | APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
| const | APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Protected Member Functions | |
| getSettings () | |
| handleLDAPDataSource (ilAuthStatus $status) | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, string $a_reason) | |
| Handle failed authentication. More... | |
Private Attributes | |
| ilSetting | $settings |
| string | $migration_account = '' |
| bool | $force_new_account = false |
Apache auth provider.
Definition at line 24 of file class.ilAuthProviderApache.php.
| ilAuthProviderApache::__construct | ( | ilAuthCredentials | $credentials | ) |
Constructor.
Reimplemented from ilAuthProvider.
Definition at line 34 of file class.ilAuthProviderApache.php.
References ilAuthProvider\$credentials, ILIAS\GlobalScreen\Provider\__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 114 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::doAuthentication | ( | ilAuthStatus | $status | ) |
Definition at line 45 of file class.ilAuthProviderApache.php.
References $_SERVER, ilAuthProvider\$status, ilObjUser\_checkExternalAuthAccount(), ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilAuthProvider\getLogger(), getSettings(), ilAuthProvider\handleAuthenticationFail(), handleLDAPDataSource(), ilUtil\isLogin(), and ilAuthStatus\STATUS_AUTHENTICATED.
Here is the call graph for this function:| ilAuthProviderApache::getExternalAccountName | ( | ) |
Get external account name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 122 of file class.ilAuthProviderApache.php.
References $migration_account.
|
protected |
Definition at line 40 of file class.ilAuthProviderApache.php.
References $settings.
Referenced by createNewAccount(), doAuthentication(), getUserAuthModeName(), handleLDAPDataSource(), and migrateAccount().
Here is the caller graph for this function:| 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 132 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 137 of file class.ilAuthProviderApache.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 146 of file class.ilAuthProviderApache.php.
References Vendor\Package\$e, $server, ilAuthProvider\$status, ilObjUser\_lookupId(), ilAuthProvider\getCredentials(), ilLDAPServer\getInstanceByServerId(), ilAuthProvider\getLogger(), getSettings(), 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:| ilAuthProviderApache::migrateAccount | ( | ilAuthStatus | $status | ) |
Create new account.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 106 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::setExternalAccountName | ( | string | $name | ) |
Definition at line 127 of file class.ilAuthProviderApache.php.
References $name.
Referenced by handleLDAPDataSource().
Here is the caller graph for this function:
|
private |
Definition at line 32 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 31 of file class.ilAuthProviderApache.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 30 of file class.ilAuthProviderApache.php.
Referenced by getSettings().
| 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.