Inheritance diagram for ilSoapAuthenticationLDAP:
Collaboration diagram for ilSoapAuthenticationLDAP:Public Member Functions | |
| ilSoapAuthenticationLDAP () | |
| __buildAuth () | |
| authenticate () | |
Definition at line 36 of file class.ilSoapAuthenticationLDAP.php.
| ilSoapAuthenticationLDAP::__buildAuth | ( | ) |
Definition at line 45 of file class.ilSoapAuthenticationLDAP.php.
References $ilAuth.
Referenced by authenticate().
{
global $ilAuth;
$_POST['auth_mode'] = AUTH_LDAP;
include_once("./Services/Init/classes/class.ilInitialisation.php");
$init = new ilInitialisation();
$init->initILIAS("soap");
$this->auth = $ilAuth;
return true;
}
Here is the caller graph for this function:| ilSoapAuthenticationLDAP::authenticate | ( | ) |
Definition at line 57 of file class.ilSoapAuthenticationLDAP.php.
References __buildAuth().
{
if(!$this->getClient())
{
$this->__setMessage('No client given');
return false;
}
if(!$this->getUsername())
{
$this->__setMessage('No username given');
return false;
}
// Read ilias ini
if(!$this->__buildDSN())
{
$this->__setMessage('Error building dsn/Wrong client Id?');
return false;
}
if(!$this->__setSessionSaveHandler())
{
return false;
}
if(!$this->__checkAgreement('ldap'))
{
return false;
}
if(!$this->__buildAuth())
{
return false;
}
if(!$this->auth->getAuth())
{
$this->__getAuthStatus();
return false;
}
$this->setSid(session_id());
return true;
}
Here is the call graph for this function:| ilSoapAuthenticationLDAP::ilSoapAuthenticationLDAP | ( | ) |
Definition at line 38 of file class.ilSoapAuthenticationLDAP.php.
{
parent::ilSOAPAuthentication();
}
1.7.1