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

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

bq. Ah, so the motivating use-case is authentication. Should we address this 
more directly then? With the proposed general mechanism, one might have to be 
careful to disable it for shuffle transfers, and once configured, adding a 
second filter for logging might be tricky. We currently really only want this 
for authentication on user-facing web interfaces, right?

The filter mapping will solve the problem.  We could exclude the web pages for 
shuffle transfers.  For adding a second filter, administrators could define a 
filter chain via filter mapping.

> 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
>         Attachments: 3854_20080729.patch, 3854_20080730.patch, 
> LoggingFilter.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.

Reply via email to