php - 将 Symfony 1.4 sfGuardUser 表与 Symfony 2 SecurityBundle 一起使用?

标签 php symfony symfony1 symfony-1.4 sfguard

我正在尝试将软件系统的一部分迁移到 Symfony 2。我不可能一次迁移所有这些,因此,我正在寻找一种在 Symfony 2 中使用 sf_guard_ 表进行身份验证/授权的方法。这可能吗?

到目前为止我已经这样做了:http://www.propelorm.org/cookbook/symfony2/the-symfony2-security-component-and-propel.html

我认为当前的问题是散列方案(涉及使用盐)的工作方式不同,而且角色/权限系统也不同。

最佳答案

我建议您使用 FOS 用户包 https://github.com/FriendsOfSymfony/FOSUserBundle .出色的文档和积极的开发。

关于php - 将 Symfony 1.4 sfGuardUser 表与 Symfony 2 SecurityBundle 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8121173/

相关文章:

html - Symfony 表单 : how to set default value for a textarea widget

javascript - 如何捕获倒数计时器并将其传递给 php 页面?

php - (400)未知指标:ga:socialNetwork'

php - 当我使用不存在的路由访问类时,如何在 codeIgniter 中设置默认函数?

php - Symfony 4 Form - Ajax 选择人口

debugging - 如何在 Netbeans 中调试 symfony?我无法调用特定页面

PHP - 在表格行中添加特定的背景颜色

php - Heroku 上的 Symfony : 403 Forbidden You don't have permission to access/on this server

Symfony 4使实体重新生成: no changes

mysql - Propel Criteria::setLimit() 像 LIMIT 0,6