title: Symfony - catch automatic redirection to login_path
body: <p>I need to catch/stop/do own stuff before redirection to the security.yml´s login_path when user is not signed in. Security example: </p>
  
  <pre><code>access_control: 
  - { path: ^/xy, role: ROLE_USER }
  </code></pre>
  
  <p>I tried to use kernel.request and kernel.controller services but these both actions are triggered after the redirection. I just need to do some own stuff, but every time I go to /xy (not signed), I am instantly redirected to login_path. And I am unable to stop it. We are using FOSUserBundle.</p>
  
  <p>Thanks for help!</p>