ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Base class for authentication providers (radius, ldap, apache, ...) More...
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.
Definition at line 28 of file class.ilAuthProvider.php.
References $credentials, and ilLoggerFactory\getLogger().
ilAuthProvider::getCredentials | ( | ) |
Definition at line 46 of file class.ilAuthProvider.php.
References $credentials.
Referenced by ilAuthProviderApache\createNewAccount(), ilAuthProviderLDAP\createNewAccount(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
ilAuthProvider::getLogger | ( | ) |
Get logger.
Definition at line 38 of file class.ilAuthProvider.php.
References $logger.
Referenced by ilAuthProviderApache\createNewAccount(), ilAuthProviderLDAP\createNewAccount(), ilAuthProviderECS\createUser(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderECS\handleLogin(), ilAuthProviderLDAP\migrateAccount(), ilAuthProviderLDAP\updateAccount(), ilAuthProviderECS\updateUser(), and ilAuthProviderECS\validateHash().
|
protected |
Handle failed authentication.
string | $a_reason |
Definition at line 55 of file class.ilAuthProvider.php.
References ilAuthStatus\setReason(), ilAuthStatus\setStatus(), and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
|
private |
Definition at line 21 of file class.ilAuthProvider.php.
Referenced by __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.
|
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.