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

Author: Fabien Potencier ([email protected])
Afficher le fichier Open project: pmjones/php-framework-benchmarks

Protected Properties

Свойство Type Description
$accessDecisionManager
$authManager
$context
$logger
$map

Méthodes publiques

Méthode 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 méthode

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 méthode

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

register() public méthode

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_oe property

protected $accessDecisionManager

$authManager protected_oe property

protected $authManager

$context protected_oe property

protected $context

$logger protected_oe property

protected $logger

$map protected_oe property

protected $map