|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | |
| Migrate existing account Maybe ldap sync has to be performed here. More... | |
| createNewAccount (\ilAuthStatus $status) | |
| Create new account for account migration. More... | |
| getExternalAccountName () | |
| Get external account name. More... | |
| setExternalAccountName ($a_name) | |
| Set external account name. More... | |
| getTriggerAuthMode () | |
| Get auth mode of current authentication type. More... | |
| getUserAuthModeName () | |
| Get user auth mode name. More... | |
Public Member Functions inherited from ilAuthProvider | |
| __construct (ilAuthCredentials $credentials) | |
| Constructor. More... | |
| getLogger () | |
| Get logger. More... | |
| getCredentials () | |
| doAuthentication (\ilAuthStatus $status) | |
| Do authentication. More... | |
Public Member Functions inherited from ilAuthProviderAccountMigrationInterface | |
| 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 |
Data Fields inherited from ilAuthProvider | |
| const | STATUS_UNDEFINED = 0 |
| const | STATUS_AUTHENTICATION_SUCCESS = 1 |
| const | STATUS_AUTHENTICATION_FAILED = 2 |
| const | STATUS_MIGRATION = 3 |
Protected Member Functions | |
| getSettings () | |
| Get setings. More... | |
| handleLDAPDataSource (ilAuthStatus $status) | |
| Handle ldap as data source. More... | |
Protected Member Functions inherited from ilAuthProvider | |
| handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
| Handle failed authentication. More... | |
Private Attributes | |
| $settings = null | |
| $migration_account = '' | |
| $force_new_account = false | |
Apache auth provider.
Definition at line 14 of file class.ilAuthProviderApache.php.
| ilAuthProviderApache::__construct | ( | \ilAuthCredentials | $credentials | ) |
Constructor.
| \ilAuthCredentials | $credentials |
Definition at line 30 of file class.ilAuthProviderApache.php.
References ilAuthProvider\$credentials, and settings().
Here is the call graph for this function:| ilAuthProviderApache::createNewAccount | ( | \ilAuthStatus | $status | ) |
Create new account for account migration.
| \ilAuthStatus | $status |
Definition at line 129 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::doAuthentication | ( | \ilAuthStatus | $status | ) |
| \ilAuthStatus | $status |
Implements ilAuthProviderInterface.
Definition at line 51 of file class.ilAuthProviderApache.php.
References $_SERVER, $login, 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 141 of file class.ilAuthProviderApache.php.
References $migration_account.
|
protected |
Get setings.
Definition at line 42 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 of current authentication type.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 158 of file class.ilAuthProviderApache.php.
References AUTH_APACHE.
| ilAuthProviderApache::getUserAuthModeName | ( | ) |
Get user auth mode name.
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 166 of file class.ilAuthProviderApache.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Handle ldap as data source.
| Auth | $auth | |
| string | $ext_account |
Definition at line 179 of file class.ilAuthProviderApache.php.
References $server, ilAuthProvider\$status, $sync, 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 | ) |
Migrate existing account Maybe ldap sync has to be performed here.
| ilAuthStatus | $status | |
| int | $a_usr_id |
Definition at line 117 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::setExternalAccountName | ( | $a_name | ) |
Set external account name.
| string | $a_name |
Definition at line 150 of file class.ilAuthProviderApache.php.
Referenced by handleLDAPDataSource().
Here is the caller graph for this function:
|
private |
Definition at line 23 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 22 of file class.ilAuthProviderApache.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 20 of file class.ilAuthProviderApache.php.
Referenced by getSettings().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Definition at line 18 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
Definition at line 16 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
Definition at line 17 of file class.ilAuthProviderApache.php.