PHP Class Newscoop\NewscoopBundle\Security\Http\Authentication\AuthenticationFailedHandler

Inheritance: extends Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler
Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception ) : Response This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Method Details

onAuthenticationFailure() public method

This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception ) : Response
$request Symfony\Component\HttpFoundation\Request
$exception Symfony\Component\Security\Core\Exception\AuthenticationException
return Symfony\Component\HttpFoundation\Response The response to return, never null