我在使用primefaces组件在我的安全glassfishv3文件夹中工作时遇到了麻烦。当组件处于“不安全”区域时,该组件可以正常工作。这是我的安全性的web.xml设置
<security-constraint>
<display-name>Purchasing Administration: Requisition</display-name>
<web-resource-collection>
<web-resource-name>All Requisition pages</web-resource-name>
<url-pattern>/secure/processes/puradmin/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>logged_in</role-name>
</auth-constraint>
</security-constraint>