I was happy to be able to build a tiny JSF web app running on tomcat. It authenticates correctly and displays the user name, however, all partial XHR (ajax) requests are blocked by 403 error.
Basically, when the command button is clicked, an itemized list of randomly generated double values should be shown.
<h:form>
<p:dataList value="#{baseBean.itemList}"/>
<p:commandButton action="#{baseBean.updateItemList}" update="@form" value="Update List" />
</h:form>
Does it mean I have to modify that request and pass additional params, or should I somehow whitelist XHR requests from authentication? Or is there better solution for this?
Thanks, Jan