|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Apache auth provider. More...
Inheritance diagram for ilAuthProviderApache:
Collaboration diagram for ilAuthProviderApache:Public Member Functions | |
| __construct (ilAuthCredentials $credentials) | |
| Constructor. More... | |
| doAuthentication (ilAuthStatus $status) | |
| @inheritDoc More... | |
| migrateAccount (ilAuthStatus $status) | |
| @inheritDoc More... | |
| createNewAccount (ilAuthStatus $status) | |
| @inheritDoc More... | |
| getExternalAccountName () | |
| @inheritDoc More... | |
| setExternalAccountName (string $name) | |
| getTriggerAuthMode () | |
| @inheritDoc More... | |
| getUserAuthModeName () | |
| @inheritDoc 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 |
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) | |
| @inheritDoc 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 8 of file class.ilAuthProviderApache.php.
| ilAuthProviderApache::__construct | ( | ilAuthCredentials | $credentials | ) |
Constructor.
| ilAuthCredentials | $credentials |
Reimplemented from ilAuthProvider.
Definition at line 23 of file class.ilAuthProviderApache.php.
References ilAuthProvider\$credentials, ILIAS\GlobalScreen\Provider\__construct(), and settings().
Here is the call graph for this function:| ilAuthProviderApache::createNewAccount | ( | ilAuthStatus | $status | ) |
@inheritDoc
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 112 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::doAuthentication | ( | ilAuthStatus | $status | ) |
@inheritDoc
Definition at line 41 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 | ( | ) |
@inheritDoc
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 123 of file class.ilAuthProviderApache.php.
References $migration_account.
|
protected |
Get setings.
Definition at line 33 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 | ( | ) |
@inheritDoc
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 139 of file class.ilAuthProviderApache.php.
References AUTH_APACHE.
| ilAuthProviderApache::getUserAuthModeName | ( | ) |
@inheritDoc
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 147 of file class.ilAuthProviderApache.php.
References getSettings().
Here is the call graph for this function:
|
protected |
@inheritDoc
Definition at line 159 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 | ) |
@inheritDoc
Implements ilAuthProviderAccountMigrationInterface.
Definition at line 101 of file class.ilAuthProviderApache.php.
References getSettings(), and handleLDAPDataSource().
Here is the call graph for this function:| ilAuthProviderApache::setExternalAccountName | ( | string | $name | ) |
| string | $name |
Definition at line 131 of file class.ilAuthProviderApache.php.
References $name.
Referenced by handleLDAPDataSource().
Here is the caller graph for this function:
|
private |
Definition at line 17 of file class.ilAuthProviderApache.php.
|
private |
Definition at line 16 of file class.ilAuthProviderApache.php.
Referenced by getExternalAccountName().
|
private |
Definition at line 14 of file class.ilAuthProviderApache.php.
Referenced by getSettings().
| const ilAuthProviderApache::APACHE_AUTH_TYPE_BY_FUNCTION = 3 |
Definition at line 12 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_DIRECT_MAPPING = 1 |
Definition at line 10 of file class.ilAuthProviderApache.php.
| const ilAuthProviderApache::APACHE_AUTH_TYPE_EXTENDED_MAPPING = 2 |
Definition at line 11 of file class.ilAuthProviderApache.php.