You can try overwriting the ajax filter that is defined in applications web.xml, check session there and redirect the request if necessary.
I have used this on a simple application, but could not make it work on Jboss Portal a few months ago
Hello, may someone provide me with some hints as far as this problem?
Is there a working sample any where?
All my attempts failed when ajax is used.