66 \Psr\Log\LoggerInterface
$logger 75 parent::__construct($context);
83 if (!$this->customerSession->isLoggedIn()) {
84 list($login, $password) = $this->httpAuthentication->getCredentials();
86 $customer = $this->customerAccountManagement->authenticate($login, $password);
87 $this->customerSession->setCustomerDataAsLoggedIn(
$customer);
88 $this->customerSession->regenerateId();
89 }
catch (\Exception $e) {
90 $this->logger->critical($e);
94 if (!$this->customerSession->isLoggedIn()) {
95 $this->httpAuthentication->setAuthenticationFailed(
'RSS Feeds');