Add a simple CSRF prevention filter. It has been tested with the Tomcat 6 manager...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 May 2010 17:38:03 +0000 (17:38 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 May 2010 17:38:03 +0000 (17:38 +0000)
commit737da1cbe666518ec1534a9bc8096a2199f6aafe
treebaccb186eb7334dda8f0bf0fc5d293f86f351f4c
parentb338ae71b529a52b679e57d42276509388257e79
Add a simple CSRF prevention filter. It has been tested with the Tomcat 6 manager app and a back-port proposal will follow shortly.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@942157 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/filters/Constants.java
java/org/apache/catalina/filters/CsrfPreventionFilter.java [new file with mode: 0644]
webapps/docs/config/filter.xml