| java.lang.Object org.blojsom.plugin.moderation.IPAddressModerationPlugin
IPAddressModerationPlugin | public class IPAddressModerationPlugin implements Plugin,Listener(Code) | | IP address moderation plugin
author: David Czarnecki version: $Id: IPAddressModerationPlugin.java,v 1.2 2007/01/17 02:35:12 czarneckid Exp $ since: blojsom 3.0 |
IPAddressModerationPlugin | public IPAddressModerationPlugin()(Code) | | Create a new instance of the IP address moderation plugin
|
loadIPList | protected List loadIPList(Blog blog, String property)(Code) | | Load the list of IP addresses from whitelist or blacklist from the blog properties
Parameters: blog - Blog Parameters: property - Whitelist or Blacklist property List of IP addresses |
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 |
|
|