You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2015/03/13 18:05:38 UTC

[jira] [Comment Edited] (HADOOP-10703) Duplicate filter instances are created during HttpServer2 initialization

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

Benoy Antony edited comment on HADOOP-10703 at 3/13/15 5:04 PM:
----------------------------------------------------------------

I plan to commit this on monday.
[~tucu00], Please let me know if you found any specification which prevents sharing filter instances across webapps. Do let me know, if there are any other objections to this patch.



was (Author: benoyantony):
I plan to commit this on monday.
[~tucu00], Please let me know if you found any specification which prevents sharing filter instances across webapps. 


> Duplicate filter instances are created during HttpServer2 initialization
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-10703
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10703
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.4.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-10703-002.patch, HADOOP-10703.patch, multiple-authenticationfilter-inits.log
>
>
> The HttpServer2.defineFilter creates a Filter instance for each context. By default, there are 3 contexts.
> So there will be 3 separate AuthenticationFilter instances and corresponding AuthenticationHandler instances. This also results in 3 separate initializations of AuthenticationHandler.
> The log file illustrating this repeated initialization is attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)