Using sfGuard and FOSUserBundle in parallel

Our client uses several applications developed with Symfony. Old use Symfony 1.3.x and newer Symfony 2.x. User management and security are based on sfGuard using Propel. The client has created his own package for handling security with sfGuard-based ORM objects in Symfony 2. The client now wants to update the user management component. Ongoing user management is handled by an automated CRUD application for Symfony 1.x.

Upgrading User Management to Symfony 2 Using the FOSUserBundle seems like a reasonable solution, but can existing Symfony 1.x applications with the sfGuard-plugin be used to manage users with the FOSUserBundle?

I am very familiar with Symfony, so I would like to get clear guidelines for solving the problem one way or another.

+3


source to share


1 answer


FOSUSerBundle uses a different type of password store. I'm pretty sure if FOSUserBundle fails to validate passwords generated with sfGuard.



Perhaps you can use https://github.com/FriendsOfSymfony/FOSAdvancedEncoderBundle to change the password for the FOSUserBundle.

+1


source







All Articles