This is a follow up to my previous question : How to modify existing Spring MVC app to bypass spring security?
The situation is : There are 3 Java web apps running on 3 different Tomcat servers [ different versions ] from the same company, using the same user Id and password, the company wants to combine the 3 sign ons into one single sign on.
I wonder if the following solution might work : I modify the first web app so that when user press the login button from the sign on form, my servlet use that Id/password and calls the 2nd and 3rd web app forms' action and supply them with the user Id/password I got from the 1st form, so all 3 web apps will each have a user session, as if the user physically signed on to each of them, and I'll add the urls to the 2nd and 3rd apps into the web pages of the 1st app, so user can click and access them, is this possible, simulated sign on from my servlet in the 1st app to the other apps ?