If anyone has a solution to this problem, please provide some input.
I am using rich faces and
JSF navigation in my application. I created a custom filter to protect resources that need authentication.
The dir structure is such:
_ _App Contx
|
|_ _css
|
|_ _protected pages
|
|
Welcome.page
The link ref tags in the welcome page and protected pages ofcourse point to the CSS using diff paths. However, when jsf navigates from welcome to a protected page the browser still shows welcome.page with sessionid appended and not the url of the protected page. So, I have to map the filter for all requests(*). I would like to able to map the filter only to requests that only contain 'protected'.
This also means the browser has no idea whats going on and when the server navigates to the protected page, the browser seems to still be pointing to the welcome page css path, thus no css is rendered in the protected page.