BeSimple/BeSimpleSsoAuthBundle — Issue #4: Compatibility with Symfony master
Author: stof
Created: 2011-12-04 21:38:43+00:00
State: open

The way to register security factories changed in Symfony master. Instead of asking the end-user to put a link to a file in its security config, each bundle can now register factories in its ``build`` method.

To support master, you have 2 choices:

- create different branches. More difficult to maintain if you refactor heavily the bundle but cleaner in the code
- add some tricky logic in ``build`` to check if the method is available in the security extension (i.e. you are in master)

What way do you prefer ?

I can provide help for the implementation if you need it.