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?

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top