[
https://issues.apache.org/jira/browse/HADOOP-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624497#action_12624497
]
Owen O'Malley commented on HADOOP-3854:
---------------------------------------
The FilterConfiguration seems like a confusing interface. How about:
{code}
public abstract class FilterInitializer {
public abstract void initFilters(HttpServer server, Configuration conf)
throws IOException;
}
public class HttpServer {
...
public void addFilter(String name, String className, Map<String, String>
params) { ... }
}
{code}
> org.apache.hadoop.http.HttpServer should support user configurable filter
> -------------------------------------------------------------------------
>
> Key: HADOOP-3854
> URL: https://issues.apache.org/jira/browse/HADOOP-3854
> Project: Hadoop Core
> Issue Type: New Feature
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: 3854_20080729.patch, 3854_20080730.patch,
> 3854_20080805.patch, 3854_20080806.patch, 3854_20080807.patch,
> 3854_20080808.patch, 3854_20080808b.patch, 3854_20080809.patch,
> 3854_20080821b.patch, 3941_20080820.patch, LoggingFilter.java,
> LoggingFilterConfiguration.java, SampleInitializer.java
>
>
> Filters provide universal functions such as authentication, logging and
> auditing, etc. HttpServer should support configurable filters, so that
> individual site administrators could possibly configure filters for their web
> site.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.