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

Author: Fabien Potencier ([email protected])
Inheritance: implements Symfony\Component\HttpKernel\Security\Firewall\ListenerInterface
Datei anzeigen Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$authenticationEntryPoint
$context
$errorPage
$logger

Public Methods

Method Description
__construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface $authenticationEntryPoint = null, $errorPage = null, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
handleException ( Symfony\Component\EventDispatcher\Event $event ) Handles security related exceptions.
register ( EventDispatcher $dispatcher, integer $priority ) Registers a core.exception listener to take care of security exceptions.

Protected Methods

Method Description
startAuthentication ( Request $request, Symfony\Component\Security\Exception\AuthenticationException $reason )

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface $authenticationEntryPoint = null, $errorPage = null, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$context Symfony\Component\Security\SecurityContext
$authenticationEntryPoint Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

handleException() public method

Handles security related exceptions.
public handleException ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() public method

Registers a core.exception listener to take care of security exceptions.
public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

startAuthentication() protected method

protected startAuthentication ( Request $request, Symfony\Component\Security\Exception\AuthenticationException $reason )
$request Symfony\Component\HttpFoundation\Request
$reason Symfony\Component\Security\Exception\AuthenticationException

Property Details

$authenticationEntryPoint protected_oe property

protected $authenticationEntryPoint

$context protected_oe property

protected $context

$errorPage protected_oe property

protected $errorPage

$logger protected_oe property

protected $logger