I would like to enable SSO capability as a authentication provider into an web application. The use case being: I have got 2 applications. One is MAIN application and other is a REPORTING application deployed separately.
Once the user is authenticated by MAIN application, he should be allowed to login to REPORTING application as well.
I know about CAS or other 3rd party SSO providers. However, I would like to implement something in my MAIN application itself so that it providers SSO service to REPORTING application as well. Some kind of ticketing mechanism may be.
I am not sure where to start. Any pointers would be highly appreciated.
PS: Applications are on the Java EE platform.