mercredi 4 mars 2015

sharing spring security credentials in multi web module project

There are multiple web modules (wars) in an ear file. Each web-module has it's own spring security configuration.


Lets say, web_module_1.war and web_module_2.war


Now, when user is logged-in to web_module_1.war module and then navigate to url of web_module_2.war. In this case, user is redirected to login page of web_module_2.war even though he is logged in.


How to pass credentials of logged in user to web_module_2.war to avoid login page for logged in user.





Aucun commentaire:

Enregistrer un commentaire