liip/LiipMagentoBundle — Issue #7: Replace the MagentoUser class
Author: pulse00
Created: 2011-11-23 07:17:17+00:00
State: open

I'm trying to replace the MagentoUser class passed as an argument to `security.user.provider.concrete.magento` so i can integrate the whole thing with the FOSUserBundle.

So far everything works fine, the only issue i'm having is that the /logout handler of magento is not called anymore. The reason is that there's no token returned by the securityContext in the [Symfony LogoutListener](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Http/Firewall/LogoutListener.php#L90)

The user class i'm passing to the MagentoUserProvider implements `Symfony\Component\Security\Core\User\UserInterface`.

Do you have any idea what could cause this when replacing the MagentoUser?