symfony/symfony — pull request #11414 by ihsanudin (2014-07-18 03:20:30+00:00)
Title: Bug fixed in SimplePreAuthenticationListener when createToken() not return TokenInterface object

From the documentation : ``http://symfony.com/doc/current/cookbook/security/api_key_authentication.html#only-authenticating-for-certain-urls

``createToken()`` return null or anything but not object of TokenInterface so we need to check before ``authenticate()``