我找不到Symfony安全中提供商的其他选项
e、 g
此链接http://symfony.com/doc/current/cookbook/security/custom_provider.html
说
security:
providers:
webservice:
id: webservice_user_provider
现在我知道id是实现UserProviderInterface
的类的服务id
但是这里的webservice
是什么,我怎样才能得到它呢?
这个代码和上面的代码有什么区别
providers:
administrators:
entity: { class: AcmeUserBundle:User}
我很困惑我是需要在那里使用User作为实体,还是需要在那里实现UserProviderInterface
的UserManager
您错过了一步。第二个例子是CCD_ 5的配置。