4 include_once
'./Services/Authentication/classes/class.ilAuthContainerBase.php';
82 function fetchData($username, $password, $isChallengeResponse=
false)
104 switch ($cryptType) {
106 return ((
string)crypt($password1, $password2) === (
string)$password2);
110 return ((
string)$password1 === (
string)$password2);
113 return ((
string)md5($password1) === (
string)$password2);
116 if (function_exists($cryptType)) {
117 return ((
string)$cryptType($password1) === (
string)$password2);
118 } elseif (method_exists($this,$cryptType)) {
119 return ((
string)$this->$cryptType($password1) === (
string)$password2);
181 for ($i=0; $c = count($users), $i<$c; $i++) {
182 if ($users[$i][
'username'] == $username) {
248 if (is_null($this->_auth_obj)) {
254 return $this->_auth_obj->log($message, $level);