3 require_once
'Auth/Container.php';
4 require_once
'Auth/Container/MDB2.php';
49 function fetchData($username, $password, $isChallengeResponse=
false)
75 $pos = strrpos($username,
'/');
76 $pos2 = strrpos($username,
'\\');
77 if ($pos ===
false || $pos < $pos2)
83 $username = substr($username, $pos + 1);
113 $ilLog->write(__METHOD__.
': logged in as '.$a_username.
114 ', remote:'.$_SERVER[
'REMOTE_ADDR'].
':'.$_SERVER[
'REMOTE_PORT'].
115 ', server:'.$_SERVER[
'SERVER_ADDR'].
':'.$_SERVER[
'SERVER_PORT']
127 $ilLog->write(__METHOD__.
': login failed'.
128 ', remote:'.$_SERVER[
'REMOTE_ADDR'].
':'.$_SERVER[
'REMOTE_PORT'].
129 ', server:'.$_SERVER[
'SERVER_ADDR'].
':'.$_SERVER[
'SERVER_PORT']