ASP.Net MVC with Active Directory Authentication using Owin Middleware
<p>I need to create an ASP.NET MVC 5 application that would use a form (like when using Individual User Accounts) for login but instead of using user info in the database, use the Windows / AD account and credentials. </p>

<p>In other words like using Windows Authentication but using an html form instead of the popup Windows authentication usually shows. <strong>Is this possible?</strong></p>

<p>Ideally authentication would be relegated to IIS and use the same protocols and allow or deny users based on roles.</p>

<p>How can I do this? </p>

<p>What do I need to configure in the web.config?</p>

<p>What do I need to have in Startup.Auth.cs?</p>