[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Secure jsp located outside war, using <security-constraint>
marinac
do-not-reply at jboss.com
Fri Oct 20 03:50:05 EDT 2006
Hi,
Some of the jsp of a web application are outside the war, somewhere else on the server and I cannot move them inside the web app.
My question is how if I can secure them using <security-constraint> in web.xml and how should I write the <url-pattern> to them, if is it possible to do that.
<security-constraint>
<display-name>acces</display-name>
<web-resource-collection>
<web-resource-name>fullSite</web-resource-name>
<url-pattern>/opt/fatwire/Shared/elements/*</url-pattern>
<url-pattern>/jsp/cs_deployed/*</url-pattern>
<url-pattern>/targeting/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979574#3979574
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979574
More information about the jboss-user
mailing list