24 include_once
'Auth/Container.php';
26 include_once
'./Services/Authentication/classes/class.ilAuthUtils.php';
27 include_once
'./Services/Authentication/classes/class.ilAuthModeDetermination.php';
47 parent::__construct();
49 include_once
'./Services/Database/classes/class.ilAuthContainerMDB2.php';
58 $this->log(
'Auth_Container_Multiple: All containers rejected user credentials.', AUTH_LOG_DEBUG);
67 $this->log(
'Container Multiple: loginObserver'.get_class($this->current_container),AUTH_LOG_DEBUG);
71 $this->log(
'Container Multiple: Forwarding to '.get_class($this->current_container),AUTH_LOG_DEBUG);
72 return $this->current_container->loginObserver($a_username, $a_auth);
82 $this->log(
'Container Multiple: checkAuthObserver',AUTH_LOG_DEBUG);
86 $this->log(
'Container Multiple: Forwarding to '.get_class($this->current_container),AUTH_LOG_DEBUG);
87 return $this->current_container->checkAuthObserver($a_username, $a_auth);
99 if ($_REQUEST[
'force_mode_apache'])
101 $this->log(
'Container Apache: Trying new container',AUTH_LOG_DEBUG);
102 include_once
'./Services/AuthApache/classes/class.ilAuthContainerApache.php';
111 switch((
int) $auth_mode)
114 $this->log(
'Container LDAP: Trying new container',AUTH_LOG_DEBUG);
115 include_once
'./Services/LDAP/classes/class.ilAuthContainerLDAP.php';
122 $this->log(
'Container MDB2: Trying new container',AUTH_LOG_DEBUG);
123 include_once
'./Services/Database/classes/class.ilAuthContainerMDB2.php';
128 $this->log(
'Container SOAP: Trying new container',AUTH_LOG_DEBUG);
129 include_once
'./Services/SOAPAuth/classes/class.ilAuthContainerSOAP.php';
134 $this->log(
'Container Radius: Trying new container',AUTH_LOG_DEBUG);
135 include_once
'./Services/Radius/classes/class.ilAuthContainerRadius.php';
141 $this->log(
'Container Plugin: Trying new container',AUTH_LOG_DEBUG);
144 $container = $pl->getContainer($auth_mode);
147 $this->current_container = $container;
156 $this->current_container->_auth_obj = $this->_auth_obj;
158 $result = $this->current_container->fetchData($user,
$pass);
162 $this->log(
'Container '.$key.
': '.
$result->getMessage(), AUTH_LOG_ERR);
167 $this->log(
'Container '.$key.
': Authentication successful.', AUTH_LOG_DEBUG);
172 $this->log(
'Container '.$key.
': Authentication failed.', AUTH_LOG_DEBUG);
__construct()
Constructor.
failedLoginObserver($a_username, $a_auth)
Overwritten Pear class AuthContainerLDAP This class is overwritten to support nested groups...
checkAuthObserver($a_username, $a_auth)
Authentication against ILIAS database.
loginObserver($a_username, $a_auth)
static getAuthPlugins()
Get active enabled auth plugins.
Apache based authentication
static getServerIdByAuthMode($a_auth_mode)
Get auth id by auth mode.
supportsCaptchaVerification()
static _getInstance()
Get instance.
Overwritten Pear class AuthContainerRadius This class is overwritten to support to perform Radius aut...
Authentication against ILIAS database.
static getLogger($a_component_id)
Get component logger.
Authentication against external SOAP server
isError($data, $code=null)
Tell whether a value is a PEAR error.