|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Base class for authentication providers (radius, ldap, apache, ...) More...
Inheritance diagram for ilAuthProvider:
Collaboration diagram for ilAuthProvider:Public Member Functions | |
| __construct (ilAuthCredentials $credentials) | |
| Constructor. More... | |
| getLogger () | |
| Get logger. More... | |
| getCredentials () | |
Data Fields | |
| const | STATUS_UNDEFINED = 0 |
| const | STATUS_AUTHENTICATION_SUCCESS = 1 |
| const | STATUS_AUTHENTICATION_FAILED = 2 |
| const | STATUS_MIGRATION = 3 |
Protected Member Functions | |
| handleAuthenticationFail (ilAuthStatus $status, $a_reason) | |
| Handle failed authentication. More... | |
Private Attributes | |
| $logger = null | |
| $credentials = null | |
| $status = self::STATUS_UNDEFINED | |
| $user_id = 0 | |
Base class for authentication providers (radius, ldap, apache, ...)
Definition at line 11 of file class.ilAuthProvider.php.
| ilAuthProvider::__construct | ( | ilAuthCredentials | $credentials | ) |
Constructor.
Reimplemented in ilAuthProviderCAS.
Definition at line 28 of file class.ilAuthProvider.php.
References $credentials, and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilAuthProvider::getCredentials | ( | ) |
Definition at line 46 of file class.ilAuthProvider.php.
References $credentials.
Referenced by ilAuthProviderApache\createNewAccount(), ilAuthProviderLDAP\createNewAccount(), ilAuthProviderApache\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
Here is the caller graph for this function:| ilAuthProvider::getLogger | ( | ) |
Get logger.
Definition at line 38 of file class.ilAuthProvider.php.
References $logger.
Referenced by ilAuthProviderApache\createNewAccount(), ilAuthProviderLDAP\createNewAccount(), ilAuthProviderECS\createUser(), ilAuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLogin(), ilAuthProviderLDAP\migrateAccount(), ilAuthProviderLDAP\updateAccount(), ilAuthProviderECS\updateUser(), and ilAuthProviderECS\validateHash().
Here is the caller graph for this function:
|
protected |
Handle failed authentication.
| string | $a_reason |
Definition at line 55 of file class.ilAuthProvider.php.
References $status, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
Here is the caller graph for this function:
|
private |
Definition at line 21 of file class.ilAuthProvider.php.
Referenced by ilAuthProviderApache\__construct(), ilAuthProviderShibboleth\__construct(), ilAuthProviderRadius\__construct(), ilAuthProviderECS\__construct(), ilAuthProviderLDAP\__construct(), __construct(), ilAuthProviderCAS\__construct(), and getCredentials().
|
private |
Definition at line 19 of file class.ilAuthProvider.php.
Referenced by getLogger().
|
private |
Definition at line 23 of file class.ilAuthProvider.php.
Referenced by ilAuthProviderApache\createNewAccount(), ilAuthProviderApache\doAuthentication(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderECS\doAuthentication(), handleAuthenticationFail(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), and ilAuthProviderLDAP\updateAccount().
|
private |
Definition at line 24 of file class.ilAuthProvider.php.
| const ilAuthProvider::STATUS_AUTHENTICATION_FAILED = 2 |
Definition at line 15 of file class.ilAuthProvider.php.
| const ilAuthProvider::STATUS_AUTHENTICATION_SUCCESS = 1 |
Definition at line 14 of file class.ilAuthProvider.php.
| const ilAuthProvider::STATUS_MIGRATION = 3 |
Definition at line 16 of file class.ilAuthProvider.php.
| const ilAuthProvider::STATUS_UNDEFINED = 0 |
Definition at line 13 of file class.ilAuthProvider.php.