[jboss-cvs] jboss-seam/seam-gen/resources/WEB-INF ...
Norman Richards
norman.richards at jboss.com
Thu Jan 11 23:25:36 EST 2007
User: nrichards
Date: 07/01/11 23:25:36
Modified: seam-gen/resources/WEB-INF web.xml
Log:
restrict HTTP access to .xhtml source in seam-gen projects
Revision Changes Path
1.4 +16 -6 jboss-seam/seam-gen/resources/WEB-INF/web.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: web.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/resources/WEB-INF/web.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- web.xml 3 Dec 2006 04:55:16 -0000 1.3
+++ web.xml 12 Jan 2007 04:25:36 -0000 1.4
@@ -64,4 +64,14 @@
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>NONE</role-name>
+ </auth-constraint>
+ </security-constraint>
</web-app>
More information about the jboss-cvs-commits
mailing list