19 declare(strict_types=1);
37 $this->
logger = $DIC->logger()->auth();
47 $this->
logger->debug(
'Returning fixed provider for auth mode: ' . $credentials->
getAuthMode());
54 $sequence = $auth_determination->getAuthModeSequence($credentials->
getUsername());
57 foreach ($sequence as $position => $authmode) {
71 switch ((
int) $a_authmode) {
73 $ldap_info = explode(
'_', $a_authmode);
74 $this->
logger->debug(
'Using ldap authentication with credentials ');
78 $this->
logger->debug(
'Using local database authentication');
82 $this->
logger->debug(
'Using SOAP authentication.');
86 $this->
logger->debug(
'Using apache authentication.');
90 $this->
logger->debug(
'Using CAS authentication');
94 $this->
logger->debug(
'Using shibboleth authentication.');
98 $this->
logger->debug(
'Using lti provider authentication.');
102 $this->
logger->debug(
'Using ecs authentication.');
106 $this->
logger->debug(
'Using apache authentication.');
110 $this->
logger->debug(
'Using openid connect authentication.');
114 $this->
logger->debug(
'Plugin authentication: ' . $a_authmode);
116 $provider = $pl->getProvider($credentials, $a_authmode);
const AUTH_OPENID_CONNECT
__construct()
Constructor.
getProviders(ilAuthCredentials $credentials)
Get provider.
Interface of auth credentials.
CAS authentication provider.
Class ilAuthProviderSoap.
getUsername()
Get username.
static getIdpIdByAuthMode(string $a_auth_mode)
static getAuthPlugins()
Get active enabled auth plugins.
Standard interface for auth provider implementations.
Auth prvider for ecs auth.
Class ilAuthProviderOpenIdConnect.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilAuthProviderSaml.
static _getInstance()
Get instance.
Shibboleth authentication provider.
getAuthMode()
Get auth mode.
getProviderByAuthMode(ilAuthCredentials $credentials, $a_authmode)
Get provider by auth mode.