怎么会知道";提供者”;symfony2自定义用户提供程序中的列


How can know the "providers" column in symfony2 custom user provider

我找不到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作为实体,还是需要在那里实现UserProviderInterfaceUserManager

您错过了一步。第二个例子是CCD_ 5的配置。

相关文章: