class ExceptionListener
ExceptionListener catches authentication exception and converts them to Response instances.
__construct(SecurityContextInterface $context, AuthenticationTrustResolverInterface $trustResolver, HttpUtils $httpUtils, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint = null, $errorPage = null, AccessDeniedHandlerInterface $accessDeniedHandler = null, LoggerInterface $logger = null) | ||
register(EventDispatcherInterface $dispatcher) Registers a onKernelException listener to take care of security exceptions. | ||
unregister(EventDispatcherInterface $dispatcher) Unregisters the dispatcher. | ||
onKernelException(GetResponseForExceptionEvent $event) Handles security related exceptions. |
Registers a onKernelException listener to take care of security exceptions.
Unregisters the dispatcher.
Handles security related exceptions.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Http/Firewall/ExceptionListener.html