I have two WAR's in one EAR file. The first one is Web administration, and the second one is an external WAR for making Reports (BIRT).
I wish to use the same login session for both WAR's as you log into the Web administration which uses BIRT to create reports. I have added the same security domain to both WAR's. But if you first log into the Web admin. and then calls some URL which applies to the BIRT WAR, I need to log in again.
I have tried to put the :
Into the Tomcat server.xml and it works fine. But isn't there any other solution to this, as they both are located in the EAR file. Isn't there any descriptor or something to tell that these two WAR's should share the login session ?
Hmm.. The post is missing something. But as I wrote i added the valve org.apache.catalina.authenticator.SingleSignOn in the server.xml. And that works.