I\'m tring to write a basic listener for kernel.request event in Symfony 2. Service definition is pretty simple and annotations come from JMSDiExtraBundle.
kernel.request
With priority = 255, your listener is called BEFORE the security firewall (priority = 8, look here).
priority = 255
priority = 8
Try to change your priority.