symfony/symfony — Issue #2901: Creation of custom Aithentication provider. Bad documentation
Author: mshtukin
Created: 2011-12-16 14:31:44+00:00
State: open

I tryed to add my custom Authentication Provider following instruction (http://symfony.com/doc/2.0/cookbook/security/custom_authentication_provider.html).
But since https://github.com/symfony/symfony/pull/2668 registration of factories provides not in main config, but in bundle configs.
But i need then enable my new provider.
In documentation it is:
security:
firewalls:
wsse_secured:
pattern: /api/.*
wsse: true

But i can't enable it in config.yml, because facrory will be uploaded later from my bundle config. So how can i enable this new provider now? At services.xml? How?
And i think, it's need to change documentation about creation of custom Authentication provider.