BeSimple/BeSimpleSsoAuthBundle — pull request #25 by stof (2012-09-20 01:23:25+00:00)
Title: Symfony 2.1 support

This PR is build on top of #24 which should be merged first.

Once this PR is merged, the bundle will not be compatible with 2.0 anymore. So please tag a release before that (and create a maintenance branch if you want and if you think it is worth it).
I strongly advice you to avoid calling the release ``2.0`` as it does not make any sense for a first version of the bundle.

Once this is done, I will rebase my branch to clean the diff in this PR.

The updated version uses a setter to inject the Factory in the listener as it allows keeping the same signature for the constructor and thus avoids duplicating the constructor injection (which changed between 2.0 and 2.1) and the factory method configuring it (duplicated prevously because of different indexes)