You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/07/12 22:43:56 UTC
svn commit: r421407 - in /incubator/roller/branches/roller_3.0: build.xml
metadata/xdoclet/filter-mappings.xml
Author: agilliland
Date: Wed Jul 12 13:43:55 2006
New Revision: 421407
URL: http://svn.apache.org/viewvc?rev=421407&view=rev
Log:
map the ip ban filter to comment and trackback servlets by default so that throttling can be used out of the box. the ip ban filter has no effect unless a valid ip ban list has been specified.
Modified:
incubator/roller/branches/roller_3.0/build.xml
incubator/roller/branches/roller_3.0/metadata/xdoclet/filter-mappings.xml
Modified: incubator/roller/branches/roller_3.0/build.xml
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/build.xml?rev=421407&r1=421406&r2=421407&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/build.xml (original)
+++ incubator/roller/branches/roller_3.0/build.xml Wed Jul 12 13:43:55 2006
@@ -203,7 +203,6 @@
<include name="org/apache/roller/ui/**/actions/*.java" />
<include name="org/apache/roller/ui/core/RollerContext.java" />
<include name="org/apache/roller/ui/core/RollerSession.java" />
- <exclude name="**/IPBanFilter**" />
<exclude name="**/LinkTag**" />
<exclude name="**/LinkParamTag**" />
</fileset>
Modified: incubator/roller/branches/roller_3.0/metadata/xdoclet/filter-mappings.xml
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/metadata/xdoclet/filter-mappings.xml?rev=421407&r1=421406&r2=421407&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/metadata/xdoclet/filter-mappings.xml (original)
+++ incubator/roller/branches/roller_3.0/metadata/xdoclet/filter-mappings.xml Wed Jul 12 13:43:55 2006
@@ -19,6 +19,19 @@
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
+<!-- Ip Banning is mapped for comment and trackbacks only.
+Note: this filter does nothing if an ip ban list is not configured. -->
+<filter-mapping>
+ <filter-name>IPBanFilter</filter-name>
+ <url-pattern>/roller-ui/rendering/comment/*</url-pattern>
+ <dispatcher>FORWARD</dispatcher>
+</filter-mapping>
+<filter-mapping>
+ <filter-name>IPBanFilter</filter-name>
+ <url-pattern>/roller-ui/rendering/trackback/*</url-pattern>
+ <dispatcher>FORWARD</dispatcher>
+</filter-mapping>
+
<!-- Scheme enforcement. Only here until we get Acegi scheme enforcement working -->
<filter-mapping>
<filter-name>SchemeEnforcementFilter</filter-name>