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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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