[ 
https://issues.apache.org/jira/browse/HADOOP-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617966#action_12617966
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3854:
------------------------------------------------

How about define a new interface HttpServerInitializer as following?
{code}
public interface HttpServerInitializer {
  void initialize(WebApplicationHandler webAppHandler) throws IOException;
}
{code}

We also define a new conf property "hadoop.http.initializer", which specifies a 
class implementing HttpServerInitializer.   Then, HttpServer calls 
initialize(...) if the conf property is set.

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

Reply via email to