I am not sure if someone else is having this problem, but seems to be quite frustrating.
I am using JAAS authentication for the application.
I have a Ajax4JSF enabled page which needs authentication to be viewed.
My URL looks like this:
This is a tiles page where the body has Ajax4JSF tags and looks like this:
<a4j:outputPanel ajaxRendered="true" id="ajaxOutputPanal">
<h:inputTextarea rows="5" cols="30" id="status"
<a4j:commandLink ajaxSingle="true" reRender="ajaxOutputPanal" value="Reload"/>
When i hit this URL directly it rediects me back to the "Login" page using JAAS authentication.
Seems like j_security does not understand the page it has to go to. This works fine for pages with no Ajax4JSF tags.