hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3854) org.apache.hadoop.http.HttpServer should support user configurable filter
Date Thu, 21 Aug 2008 22:22:44 GMT

    [ 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.


Mime
View raw message