Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #44 from pminnieur/patch-1

use SecurityContextInterface instead of SecurityContext
  • Loading branch information...
commit c26bd5ddfa83876ba4c88e62227d09e7f3429dc8 2 parents e43b9a5 + 8739a69
Johannes authored March 07, 2012
4  Security/Authorization/Interception/MethodSecurityInterceptor.php
@@ -31,7 +31,7 @@
31 31
 use Symfony\Component\HttpKernel\Log\LoggerInterface;
32 32
 use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
33 33
 use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
34  
-use Symfony\Component\Security\Core\SecurityContext;
  34
+use Symfony\Component\Security\Core\SecurityContextInterface;
35 35
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
36 36
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
37 37
 use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException;
@@ -52,7 +52,7 @@ class MethodSecurityInterceptor implements MethodInterceptorInterface
52 52
     private $runAsManager;
53 53
     private $logger;
54 54
 
55  
-    public function __construct(SecurityContext $securityContext, AuthenticationManagerInterface $authenticationManager, AccessDecisionManagerInterface $accessDecisionManager,
  55
+    public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, AccessDecisionManagerInterface $accessDecisionManager,
56 56
                                 AfterInvocationManagerInterface $afterInvocationManager, RunAsManagerInterface $runAsManager, MetadataFactoryInterface $metadataFactory, LoggerInterface $logger = null)
57 57
     {
58 58
         $this->alwaysAuthenticate = false;

0 notes on commit c26bd5d

Please sign in to comment.
Something went wrong with that request. Please try again.