| java.lang.Object org.blojsom.plugin.moderation.OpenProxyModerationPlugin
OpenProxyModerationPlugin | public class OpenProxyModerationPlugin implements Plugin,Listener(Code) | | Open proxy check plugin for comments and trackbacks. This plugin queries the Distributed
Sender Blackhole List if a comment or trackback is submitted. If the IP address of the requesting
host is on the blacklist, the comment or trackback is marked for moderation if moderation is enabled,
otherwise it is destroyed.
This plugin can work in conjunction with other moderation plugins as it looks for the comment or
trackback metadata.
author: David Czarnecki version: $Id: OpenProxyModerationPlugin.java,v 1.2 2007/01/17 02:35:12 czarneckid Exp $ since: blojsom 3.0 |
OpenProxyModerationPlugin | public OpenProxyModerationPlugin()(Code) | | Create a new instance of the open proxy comment check plugin
|
handleEvent | public void handleEvent(Event event)(Code) | | Handle an event broadcast from another component
Parameters: event - Event to be handled |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
processEvent | public void processEvent(Event event)(Code) | | Process an event from another component
Parameters: event - Event to be handled |
|
|