Symfony\Component\Security\Http\Firewall\ExceptionListener
ExceptionListener catches authentication exception and converts them to Response instances.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ExceptionListener
{
- // members
- private $context;
- private $providerKey;
- private $accessDeniedHandler;
- private $authenticationEntryPoint;
- private $authenticationTrustResolver;
- private $errorPage;
- private $logger;
- private $httpUtils;
- // methods
- public void __construct()
- public void register()
- public void onKernelException()
- private void startAuthentication()
- protected void setTargetPath()
Members
private
- $accessDeniedHandler
- $authenticationEntryPoint
- $authenticationTrustResolver
- $context
- $errorPage
- $httpUtils
- $logger
- $providerKey
Methods
private
protected
public
- __construct()
- onKernelException() — Handles security related exceptions.
- register() — Registers a onKernelException listener to take care of security exceptions.