0
我遇到麻煩讓primefaces組件在我的安全glassfishv3文件夾中工作。當它處於「不安全」區域時,組件工作。這裏是我的web.xml中設置安全p:fileUpload和安全
<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>