Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top