質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top