ASP.NET – How to Implement Single Sign-On Using Kerberos Authentication

asp.netc#-4.0kerberossingle-sign-on

I am implementing a project on single sign-on in asp.net using c#. I need to implement the authentication using kerberos. I searched the internet a lot but i am not getting any help. I am a newbie, please help me with any good post or tutorial on this.

Best Answer

When deploying your application in IIS on a Windows server registered into an ActiveDirectory domain, almost all the job is already done by default.

In a standard context: IE browsers running on a Windows workstation registered in the domain with the user logged in the domain too, HTTP SPNEGO negotiation happens by default (IE option is Windows integrated authentication).

Then your code in ASP.NET just have to get username from User.Identity.Name

Related Question