In a J2EE application, how do I create a global Filter that can access other webapps installed on that app server?
This worked for me: https://stackoverflow.com/a/8815211/964681
Sorry, couldn't just comment on your question. Haven't enough "points".