Skip to content

Instantly share code, notes, and snippets.

@skurfuerst
Created May 5, 2011 13:06
Show Gist options
  • Save skurfuerst/956990 to your computer and use it in GitHub Desktop.
Save skurfuerst/956990 to your computer and use it in GitHub Desktop.
Uncaught Exception in FLOW3
#1216919280: You are not allowed to perform this action. (More information)
F3\FLOW3\Security\Exception\AccessDeniedException thrown in file
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Authorization_Interceptor_AccessDeny_Original.php in line 41.
Go to the FORGE issue tracker and report the issue - if you think it is a bug!
13 F3\FLOW3\Security\Authorization\Interceptor\AccessDeny_Original::invoke()
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Authorization_RequestFilter_Original.php:
00084: public function filterRequest(\F3\FLOW3\MVC\RequestInterface $request) {
00085: if($this->pattern->canMatch($request) && $this->pattern->matchRequest($request)) {
00086: $this->securityInterceptor->invoke();
00087: return TRUE;
00088: }
12 F3\FLOW3\Security\Authorization\RequestFilter_Original::filterRequest(F3\FLOW3\MVC\Web\Request)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Authorization_FilterFirewall_Original.php:
00099: $filterMatched = FALSE;
00100: foreach($this->filters as $filter) {
00101: if($filter->filterRequest($request)) $filterMatched = TRUE;
00102: }
00103: if ($this->rejectAll && !$filterMatched) throw new \F3\FLOW3\Security\Exception\AccessDeniedException('The requst was blocked, because no request filter explicitly allowed it.', 1216923741);
11 F3\FLOW3\Security\Authorization\FilterFirewall_Original::blockIllegalRequests(F3\FLOW3\MVC\Web\Request)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Aspect_RequestDispatchingAspect_Original.php:
00087: public function blockIllegalRequestsAndForwardToAuthenticationEntryPoints(\F3\FLOW3\AOP\JoinPointInterface $joinPoint) {
00088: $request = $joinPoint->getMethodArgument('request');
00089: $this->firewall->blockIllegalRequests($request);
00090:
00091: try {
10 F3\FLOW3\Security\Aspect\RequestDispatchingAspect_Original::blockIllegalRequestsAndForwardToAuthenticationEntryPoints(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_AOP_Advice_AroundAdvice_Original.php:
00046: $adviceObject = $this->objectManager->get($this->aspectObjectName);
00047: $methodName = $this->adviceMethodName;
00048: return $adviceObject->$methodName($joinPoint);
00049: }
00050: }
9 F3\FLOW3\AOP\Advice\AroundAdvice_Original::invoke(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_AOP_Advice_AdviceChain_Original.php:
00070: $this->adviceIndex++;
00071: if ($this->adviceIndex < count($this->advices)) {
00072: $result = $this->advices[$this->adviceIndex]->invoke($joinPoint);
00073: } else {
00074: $result = $this->proxy->FLOW3_AOP_Proxy_invokeJoinpoint($joinPoint);
8 F3\FLOW3\AOP\Advice\AdviceChain_Original::proceed(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Aspect_RequestDispatchingAspect_Original.php:
00073: $request = $joinPoint->getMethodArgument('request');
00074: $this->securityContext->initialize($request);
00075: return $joinPoint->getAdviceChain()->proceed($joinPoint);
00076: }
00077:
7 F3\FLOW3\Security\Aspect\RequestDispatchingAspect_Original::initializeSecurity(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_AOP_Advice_AroundAdvice_Original.php:
00046: $adviceObject = $this->objectManager->get($this->aspectObjectName);
00047: $methodName = $this->adviceMethodName;
00048: return $adviceObject->$methodName($joinPoint);
00049: }
00050: }
6 F3\FLOW3\AOP\Advice\AroundAdvice_Original::invoke(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_AOP_Advice_AdviceChain_Original.php:
00070: $this->adviceIndex++;
00071: if ($this->adviceIndex < count($this->advices)) {
00072: $result = $this->advices[$this->adviceIndex]->invoke($joinPoint);
00073: } else {
00074: $result = $this->proxy->FLOW3_AOP_Proxy_invokeJoinpoint($joinPoint);
5 F3\FLOW3\AOP\Advice\AdviceChain_Original::proceed(F3\FLOW3\AOP\JoinPoint)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_MVC_Dispatcher.php:
00119: $adviceChain = $adviceChains['F3\FLOW3\AOP\Advice\AroundAdvice'];
00120: $adviceChain->rewind();
00121: $result = $adviceChain->proceed(new \F3\FLOW3\AOP\JoinPoint($this, 'F3\FLOW3\MVC\Dispatcher', 'dispatch', $methodArguments, $adviceChain));
00122:
00123: } catch(\Exception $e) {
4 F3\FLOW3\MVC\Dispatcher::dispatch(F3\FLOW3\MVC\Web\Request, F3\FLOW3\MVC\Web\Response)
/opt/local/apache2/htdocs/Conference/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_MVC_Web_RequestHandler_Original.php:
00077: }
00078:
00079: $this->dispatcher->dispatch($request, $response);
00080: $response->send();
00081: }
3 F3\FLOW3\MVC\Web\RequestHandler_Original::handleRequest()
Packages/Framework/FLOW3/Classes/Core/Bootstrap.php:
00318: $requestHandlerResolver = $this->objectManager->get('F3\FLOW3\MVC\RequestHandlerResolver');
00319: $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00320: $requestHandler->handleRequest();
00321:
00322: $this->emitFinishedRuntimeRun();
2 F3\FLOW3\Core\Bootstrap::handleWebRequest()
Packages/Framework/FLOW3/Classes/Core/Bootstrap.php:
00172: switch (FLOW3_SAPITYPE) {
00173: case 'Web' :
00174: $this->handleWebRequest();
00175: break;
00176: case 'CLI' :
1 F3\FLOW3\Core\Bootstrap::run()
/opt/local/apache2/htdocs/Conference/Web/index.php:
00036: $context = getenv('FLOW3_CONTEXT') ?: (getenv('REDIRECT_FLOW3_CONTEXT') ?: 'Production');
00037: $bootstrap = new \F3\FLOW3\Core\Bootstrap($context);
00038: $bootstrap->run();
00039:
00040: ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment