Skip to content

Commit

Permalink
clarifying the need of a factory for auth-provider
Browse files Browse the repository at this point in the history
I think the documentation is a little bit unclear here. It doesnt actually explain why we dont simply expose the provider via "normal" service definition, but instead doing it in a compiler pass.
  • Loading branch information
leberknecht authored and weaverryan committed Jun 7, 2014
1 parent 0626f2b commit 51a8856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/security/custom_authentication_provider.rst
Expand Up @@ -287,8 +287,8 @@ The Factory
-----------

You have created a custom token, custom listener, and custom provider. Now
you need to tie them all together. How do you make your provider available
to your security configuration? The answer is by using a *factory*. A factory
you need to tie them all together. How do you make a unique provider available
for every firewall? The answer is by using a *factory*. A factory
is where you hook into the Security component, telling it the name of your
provider and any configuration options available for it. First, you must
create a class which implements
Expand Down

0 comments on commit 51a8856

Please sign in to comment.