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 SOAP authentication.');
81 include_once
'./Services/SOAPAuth/classes/class.ilAuthProviderSoap.php';
85 $this->
getLogger()->debug(
'Using apache authentication.');
86 include_once
'./Services/AuthApache/classes/class.ilAuthProviderApache.php';
90 $this->
getLogger()->debug(
'Using CAS authentication');
91 include_once
'./Services/CAS/classes/class.ilAuthProviderCAS.php';
95 $this->
getLogger()->debug(
'Using radius authentication.');
96 include_once
'./Services/Radius/classes/class.ilAuthProviderRadius.php';
100 $this->
getLogger()->debug(
'Using shibboleth authentication.');
101 include_once
'./Services/AuthShibboleth/classes/class.ilAuthProviderShibboleth.php';
105 $this->
getLogger()->debug(
'Using lti provider authentication.');
106 include_once
'./Services/LTI/classes/InternalProvider/class.ilAuthProviderLTI.php';
110 $this->
getLogger()->debug(
'Using ecs authentication.');
111 include_once
'./Services/WebServices/ECS/classes/class.ilAuthProviderECS.php';
115 $this->
getLogger()->debug(
'Using apache authentication.');
116 require_once
'Services/Saml/classes/class.ilAuthProviderSaml.php';
117 require_once
'Services/Saml/classes/class.ilSamlIdp.php';
121 $this->
getLogger()->debug(
'Using openid connect authentication.');
125 $this->
getLogger(
'Plugin authentication: ' . $a_authmode);
127 $provider = $pl->getProvider($credentials, $a_authmode);
An exception for terminatinating execution or to throw for unit testing.
const AUTH_OPENID_CONNECT
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.
Class ilAuthProviderOpenIdConnect.
Description of class class.
Class ilAuthProviderSaml.
Shibboleth authentication provider.
Class ilAuthProviderSoap.
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.