public function processedAssertionAction() { $this->setNoRender(); $application = EngineBlock_ApplicationSingleton::getInstance(); try { $proxyServer = new EngineBlock_Corto_Adapter(); $proxyServer->processedAssertionConsumer(); } catch (EngineBlock_Corto_Exception_UserNotMember $e) { $application->getLogInstance()->warn('User not a member error'); $application->getHttpResponse()->setRedirectUrl('/authentication/feedback/vomembershiprequired'); } }
public function processedAssertionAction() { $this->setNoRender(); $application = EngineBlock_ApplicationSingleton::getInstance(); try { $proxyServer = new EngineBlock_Corto_Adapter(); $proxyServer->processedAssertionConsumer(); } catch (EngineBlock_Corto_Exception_UserNotMember $e) { $application->getLogInstance()->notice("VO membership required", array('exception' => $e)); $application->handleExceptionWithFeedback($e, '/authentication/feedback/vomembershiprequired'); } catch (EngineBlock_Attributes_Manipulator_CustomException $e) { $application->getLogInstance()->notice("Custom attribute manipulator exception", array('exception' => $e)); $_SESSION['feedback_custom'] = $e->getFeedback(); $application->handleExceptionWithFeedback($e, '/authentication/feedback/custom'); } }