41 $this->
getLogger()->debug(
'Returning fixed provider for auth mode: ' . $credentials->
getAuthMode());
47 include_once
'./Services/Authentication/classes/class.ilAuthModeDetermination.php';
49 $sequence = $auth_determination->getAuthModeSequence($credentials->
getUsername());
52 foreach ((array) $sequence as $position => $authmode) {
67 switch ((
int) $a_authmode) {
69 $ldap_info = explode(
'_', $a_authmode);
70 $this->
getLogger()->debug(
'Using ldap authentication with credentials ');
71 include_once
'./Services/LDAP/classes/class.ilAuthProviderLDAP.php';
75 $this->
getLogger()->debug(
'Using local database authentication');
76 include_once
'./Services/Authentication/classes/Provider/class.ilAuthProviderDatabase.php';
80 $this->
getLogger()->debug(
'Using apache authentication.');
81 include_once
'./Services/AuthApache/classes/class.ilAuthProviderApache.php';
85 $this->
getLogger()->debug(
'Using CAS authentication');
86 include_once
'./Services/CAS/classes/class.ilAuthProviderCAS.php';
90 $this->
getLogger()->debug(
'Using radius authentication.');
91 include_once
'./Services/Radius/classes/class.ilAuthProviderRadius.php';
95 $this->
getLogger()->debug(
'Using shibboleth authentication.');
96 include_once
'./Services/AuthShibboleth/classes/class.ilAuthProviderShibboleth.php';
99 case AUTH_LTI_PROVIDER:
100 $this->
getLogger()->debug(
'Using lti provider authentication.');
101 include_once
'./Services/LTI/classes/InternalProvider/class.ilAuthProviderLTI.php';
105 $this->
getLogger()->debug(
'Using ecs authentication.');
106 include_once
'./Services/WebServices/ECS/classes/class.ilAuthProviderECS.php';
110 $this->
getLogger()->debug(
'Using apache authentication.');
111 require_once
'Services/Saml/classes/class.ilAuthProviderSaml.php';
112 require_once
'Services/Saml/classes/class.ilSamlIdp.php';
116 $this->
getLogger(
'Plugin authentication: ' . $a_authmode);
118 $provider = $pl->getProvider($credentials, $a_authmode);
An exception for terminatinating execution or to throw for unit testing.
static _getInstance()
Get instance.
CAS authentication provider.
Description of class class.
Auth prvider for ecs auth.
__construct()
Constructor.
getLogger()
Get current logger.
getProviderByAuthMode(ilAuthCredentials $credentials, $a_authmode)
Get provider by auth mode.
getProviders(ilAuthCredentials $credentials)
Get provider.
Description of class class.
OAuth based lti authentication.
Description of class class.
Class ilAuthProviderSaml.
Shibboleth authentication provider.
static getAuthPlugins()
Get active enabled auth plugins.
static getLogger($a_component_id)
Get component logger.
static getIdpIdByAuthMode($a_auth_mode)
Interface of auth credentials.
getUsername()
Get username.
getAuthMode()
Get auth mode.
Standard interface for auth provider implementations.