/** * {@inheritDoc} */ public function loginWithPassword($password) { //FIXME: time() might not be the correct format to be used? if (is_null($password) || $password == "") { $this->setLastFailedLoginTime(time()); $this->incrementFailedLoginCount(); throw new AuthenticationLoginException("Login failed", "Missing password: "******"Login failed", "Disabled user attempt to login: "******"Login failed", "Locked user attempt to login: "******"Login failed", "Expired user attempt to login: "******"DefaultUser")->trace(ESAPILogger::SECURITY, "User logged in: " . $this->_accountName); } else { $this->_loggedIn = false; $this->setLastFailedLoginTime(time()); $this->incrementFailedLoginCount(); throw new AuthenticationLoginException("Login failed", "Incorrect password provided for " . $this->getAccountName()); } }