Using Symfony 1.4 sfGuardUser tables with Symfony 2 SecurityBundle?

I'm trying to port some software to Symfony 2. I cannot migrate all of them right away, so I'm looking for a way to use sf_guard_ tables for authentication / authorization in Symfony 2. Is this possible?

I have done it so far: http://www.propelorm.org/cookbook/symfony2/the-symfony2-security-component-and-propel.html

I think the current problem is that the hash scheme (which includes the use of salt) does not work as well, and that the role / permission system is different.

+6
source share
1 answer

I suggest you use the FOS User Bundle https://github.com/FriendsOfSymfony/FOSUserBundle . Excellent documentation and active development.

0
source

Source: https://habr.com/ru/post/901432/


All Articles