private function usePasswordAuthentification($user)
 {
     /**
      * @var $ilUser ilObjUser
      * @var $ilLog ilLog
      */
     global $ilUser, $ilLog;
     // Try ro read the adobe connect password
     if (!($pwd = $ilUser->getPref('xavc_pwd'))) {
         if ($this->changeUserPassword($user, $pwd = md5(uniqid(microtime(), true)))) {
             $ilUser->setPref('xavc_pwd', $pwd);
             $ilUser->writePrefs();
         } else {
             $ilLog->write("Adobe Connect " . __METHOD__ . ": No password found in user preferences (Id: " . $ilUser->getId() . " | " . $ilUser->getLogin() . "). Could not change password for user '{$user}' on Adobe Connect server.");
             return NULL;
         }
     }
     self::$breeze_session = null;
     $session = $this->getBreezeSession();
     if ($this->login($user, $pwd, $session)) {
         return $session;
     } else {
         if ($this->changeUserPassword($user, $pwd = md5(uniqid(microtime(), true)))) {
             $ilUser->setPref('xavc_pwd', $pwd);
             $ilUser->writePrefs();
             if ($this->login($user, $pwd, $session)) {
                 return $session;
             } else {
                 $ilLog->write("Adobe Connect " . __METHOD__ . ": Second login attempt not permitted (Id: " . $ilUser->getId() . " | " . $ilUser->getLogin() . "). Password changed for user '{$user}' on Adobe Connect server.");
             }
         } else {
             $ilLog->write("Adobe Connect " . __METHOD__ . ": Login not permitted (Id: " . $ilUser->getId() . " | " . $ilUser->getLogin() . "). Could not change password for user '{$user}' on Adobe Connect server.");
         }
         return NULL;
     }
 }