Frage

I'm using Symfony2 as framework but up until now I was using my own code for authentication and authorization. I decided to give Symfony's security system a try and after following the tutorial on its website I'm now able to login using my database.

But... I need to authenticate against a Radius server and an Active Directory if the authentication against the database fails.

Can these multiple methods of authentication be combined? how would I do that?

War es hilfreich?

Lösung

The solution was to create my own user authentication provider. You only need to extend UserAuthenticationProvider and do your own thing in the checkAuthentication method

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top