https://www.apereo.org/cas/download
This project contains code that can extent an existing ASP.NET web application to emulate the single sign-on functionality of a Jasig Central Authentication Service (CAS).
The Jasig Central Authentication Service (CAS) is an open-source authentication system for web applications. It's written in Java and usually runs within an Apache Tomcat infrastructure.