Waffle

A very useful open source project I stumbled up on is waffle a Windows active directory authenication framework for C#/Java.