In the previous work, we used Jasig CAS for SSO (several Java and Python applications). After overcoming some of the quirks in the configuration and my dislike of all Java stuff, it really worked pretty well. At that time, I found wiki to be a valuable resource, but things could change last year.
Authentication was performed through a separate application (user) using the OpenLDAP directory, which was previously initialized using a script that received user information from the AD server.
As for the real server, you might really want to use Jasig one, the IIRC is a reference implementation and is easy to configure using a Maven overlay .
source share