Using Symfony 1.4 sfGuardUser tables with Symfony 2 SecurityBundle?
Asked Answered
S

1

6

I am trying to migrate a part of a software system to Symfony 2. I can't possible migrate all of them at once, so, I am looking for a way to use sf_guard_ tables for authentication/authorization in Symfony 2. Is this possible?

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

I think the current issue is that the hashing scheme (that involves the use of a salt) does not work the same way and also that the role/permission system is different.

Sodomite answered 14/11, 2011 at 11:53 Comment(1)
Can you add the hash/salt specification for Symfony 1.4 sefGuard and the one in use with the symfony2 component to your question?Pears
C
0

I would suggest you use FOS User Bundle https://github.com/FriendsOfSymfony/FOSUserBundle. Great documentation and in active development.

Cossack answered 21/11, 2011 at 23:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.