ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Base class for authentication providers (radius, ldap, apache, ...) More...
Public Member Functions | |
__construct (ilAuthCredentials $credentials) | |
Constructor. More... | |
getLogger () | |
Get logger. More... | |
getCredentials () | |
Public Member Functions inherited from ilAuthProviderInterface | |
doAuthentication (\ilAuthStatus $status) | |
Do authentication. More... | |
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 ilAuthProviderLDAP\createNewAccount(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderLTI\createUser(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderSoap\handleSoapAuth(), ilAuthProviderOpenIdConnect\handleUpdate(), ilAuthProviderLDAP\migrateAccount(), and ilAuthProviderLDAP\updateAccount().
ilAuthProvider::getLogger | ( | ) |
Get logger.
Definition at line 38 of file class.ilAuthProvider.php.
References $logger.
Referenced by ilAuthProviderLDAP\createNewAccount(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderLTI\createUser(), ilAuthProviderECS\createUser(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderOpenIdConnect\doAuthentication(), ilAuthProviderSoap\doAuthentication(), ilAuthProviderSaml\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderLTI\findAuthKeyId(), ilAuthProviderLTI\findAuthPrefix(), ilAuthProviderLTI\findGlobalRole(), ilAuthProviderLTI\findUserId(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderLTI\handleLocalRoleAssignments(), ilAuthProviderECS\handleLogin(), ilAuthProviderOpenIdConnect\handleLogout(), ilAuthProviderOpenIdConnect\handleUpdate(), ilAuthProviderSaml\importUser(), ilAuthProviderLDAP\migrateAccount(), ilAuthProviderLDAP\updateAccount(), ilAuthProviderLTI\updateUser(), 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(), ilAuthProviderSaml\createNewAccount(), ilAuthProviderShibboleth\doAuthentication(), ilAuthProviderCAS\doAuthentication(), ilAuthProviderLDAP\doAuthentication(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderApache\doAuthentication(), ilAuthProviderSaml\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthProviderSaml\handleSamlAuth(), 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.
Referenced by ilAuthProviderOpenIdConnect\handleUpdate().
|
private |
Definition at line 24 of file class.ilAuthProvider.php.
Referenced by ilAuthProviderLTI\findUserId(), ilAuthProviderLTI\handleLocalRoleAssignments(), and ilAuthProviderOpenIdConnect\handleUpdate().
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.