Symfony provides native support for multiple user providers. This makes it easy to integrate any kind of login handlers, including SSO and existing 3rd party bundles (e.g. FR3DLdapBundle, HWIOauthBundle, FOSUserBundle, BeSimpleSsoAuthBundle...).
The only requirement, whatever user provider is used, is to inject a valid eZ user in the repository. This can be done by listening to SecurityEvents::INTERACTIVE_LOGIN event which is triggered once authentication has been made.
In addition, session creation in REST must use the same security mechanism. Currently it logs user in manually.
Goal of this story is to provide services and configuration for easier integration of multiple user providers.