PHP Class Symfony\Component\HttpKernel\Security\Firewall\AccessListener

Author: Fabien Potencier ([email protected])
Show file Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$accessDecisionManager
$authManager
$context
$logger
$map

Public Methods

Method Description
__construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authorization\AccessDecisionManagerInterface $accessDecisionManager, Symfony\Component\HttpKernel\Security\AccessMap $map, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
handle ( Symfony\Component\EventDispatcher\Event $event ) Handles access authorization.
register ( EventDispatcher $dispatcher, integer $priority ) Registers a core.security listener to enforce authorization rules.

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authorization\AccessDecisionManagerInterface $accessDecisionManager, Symfony\Component\HttpKernel\Security\AccessMap $map, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$context Symfony\Component\Security\SecurityContext
$accessDecisionManager Symfony\Component\Security\Authorization\AccessDecisionManagerInterface
$map Symfony\Component\HttpKernel\Security\AccessMap
$authManager Symfony\Component\Security\Authentication\AuthenticationManagerInterface
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

handle() public method

Handles access authorization.
public handle ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() public method

Registers a core.security listener to enforce authorization rules.
public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

Property Details

$accessDecisionManager protected property

protected $accessDecisionManager

$authManager protected property

protected $authManager

$context protected property

protected $context

$logger protected property

protected $logger

$map protected property

protected $map