出处:12c-integration_with_fosuserbundle.md作者:FriendsOfSymfony授权许可:创作共用协议翻译人员:FireHare校对人员:适用版本:FOSCommentBundle 2.0.5文章状态:草译阶段Step 12c: Integration with FOSUserBundleBy default, votes are made anony
翻译
精选
2013-07-29 12:31:57
1261阅读
Provides user persistence for your Symfony2 Project.
为您的Symfony2项目提供用户持久化
Features
功能
========
- Compatible with Doctrine ORM **and** ODM thanks to a generic repository.
- 与Doctrine ORM **和** ODM 兼容,这归功于通用库
- Model is extensible at will
- 模型可随意扩展
- REST-ful authentication
- REST风格的认证
- Current user available in your controllers and views
- 当前用户在您控制器和视图中可用
- Unit tested and functionally tested
- 支持单元测试和功能测试
翻译
精选
2011-06-23 22:46:30
3763阅读
Since a post on security was requested, I am going to show you how to secure a route prefix in your application. The symfony2 security component is very powerful and complex. This implementation will be simple, but you should be able to easily build on it. For securing a production application I would strongly recommend using the FOSUserBundle which can be found here. This bundle is written by some of the core developers of symfony2 and will most likely become the “sfGuardPlugin” for symfony2. T
转载
精选
2011-07-11 21:12:39
3073阅读