* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\Authentication; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Exception\AuthenticationException; /** * @author Fabien Potencier */ class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface { private $handler; /** * @param AuthenticationFailureHandlerInterface $handler An AuthenticationFailureHandlerInterface instance * @param array $options Options for processing a successful authentication attempt */ public function __construct(AuthenticationFailureHandlerInterface $handler, array $options) { $this->handler = $handler; if (method_exists($handler, 'setOptions')) { $this->handler->setOptions($options); } } /** * {@inheritdoc} */ public function onAuthenticationFailure(Request $request, AuthenticationException $exception) { return $this->handler->onAuthenticationFailure($request, $exception); } } __halt_compiler();----SIGNATURE:----qP8jqnOBddQ+1mX7aybZ8TUBVX44jRQs9rSSuCGRyVo/L2VntNPG2gA6VVk0is93waHSJapfDh6JxTcdHm0dZ+YyvTkZVQ3xVV3aILWwzsxHVxB8kgUFVEGf1n4gw5LTc3XqtbGLp/IYZXSTHG9YBJp6zNBB80gH2Xn4pp4WMv+NtfToSePtryIgeRh8mLtqFeJ7RDSS97hQWbZqAr6qFDuF4vSn/w1v7JwXYBMA5j40NVX3r/EkzpmTdTwUlY+08i7OskD3wSeRDA/NU1dDBxL/NeytRElXWI84WqGn3f2LiYLeylgxuVCw2n7dw4PR+hwHl8bw/5LvK+SHgMPZozp0A+HeVm6LwuLxNjK6YAREHIJO7pTZyY6GWAEkVJ7hgAtpUMBeQpUiM5jYkWUmcv2eJmZlymzo5773dh+HOzYd+lKjXT7Xr5hM3KlhDD6WDzrDJJ1P20uxpUT53Aly4A+NwW5fa7XycJGbK28JF4TN76bAWHUcqV62Kne/GpxbZZA1qlKfHxhsdv/twpulf7YlHn8etDq9gPIO2jQa6EsHKx+QiPQVyHvjvZxIISGold2/I0C1vzDmoH5bpIjgBFFQCCcZT7BW8nqt2ItPWb8JtLY/uaomj4Do9xk4Jat1Qi6mBlgiTcYaowdkU84fyxSV5gFXWrxCRm46esBUAaw=----ATTACHMENT:----OTg5MzQ1NTIyNzgyMzYxMyA5NDczNTQwMTc1Mzc0NzE2IDQ3OTE3MjEzNzc0MzMyOTQ=