I'm implementing corporate website with asp.net mvc and want to use new ASP.NET Identity framework. Is it possible to integrate ActiveDirectory authorization with ASP.NET Identity? Any samples how to do it?
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
Yes it's possible using a claim based authentication. It's integrated to .Net 4.5 now (before it was called WIF).
You can use Thinktucture, which is a very robust authentication provider it has a full example on how to integrate ADFS. Here is a link for it.
Here is another way to do it for an MVC4 app - MVC 4 and ADFS integration guide included
Here's a solution for MVC5 Web app using ADFS On-Premises Organizational Auth and Visual Studio 2013 localhost development
If you don't want to use ADFS you can use the
ActiveDirectoryMembershipProvider
. It works with Windows authentication and here's an post of using it with Forms authentication - Chris Schiffhauer - Implement Active Directory Authentication in ASP.NET MVC 5: