/**
  * Check the login data with the user record data for builtin login methods
  *
  * @param array $user User data array
  * @param array $loginData Login data array
  * @param string $passwordCompareStrategy Password compare strategy
  * @return boolean TRUE if login data matched
  * @todo Define visibility
  */
 public function compareUident(array $user, array $loginData, $passwordCompareStrategy = '')
 {
     if ($this->authInfo['loginType'] === 'BE') {
         // Challenge is only stored in session during BE login with the superchallenged login type.
         // In the frontend context the challenge is never stored in the session.
         if ($passwordCompareStrategy !== 'superchallenged') {
             $this->pObj->challengeStoredInCookie = FALSE;
         }
         // The TYPO3 standard login service relies on $passwordCompareStrategy being set
         // to 'superchallenged' because of the password in the database is stored as md5 hash
         $passwordCompareStrategy = 'superchallenged';
     }
     return $this->pObj->compareUident($user, $loginData, $passwordCompareStrategy);
 }
 /**
  * Check the login data with the user record data for builtin login methods
  *
  * @param array $user User data array
  * @param array $loginData Login data array
  * @param string $passwordCompareStrategy Password compare strategy
  * @return bool TRUE if login data matched
  */
 public function compareUident(array $user, array $loginData, $passwordCompareStrategy = '')
 {
     return $this->pObj->compareUident($user, $loginData, $passwordCompareStrategy);
 }