Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1BCBB200D2B for ; Thu, 2 Nov 2017 17:22:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1A4AC160BE5; Thu, 2 Nov 2017 16:22:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4039C1609EE for ; Thu, 2 Nov 2017 17:22:06 +0100 (CET) Received: (qmail 95184 invoked by uid 500); 2 Nov 2017 16:22:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 95173 invoked by uid 99); 2 Nov 2017 16:22:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2017 16:22:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 67B2F1808EF for ; Thu, 2 Nov 2017 16:22:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6Bo5i2cidCWe for ; Thu, 2 Nov 2017 16:22:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9BB115FE5C for ; Thu, 2 Nov 2017 16:22:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DF44FE0E80 for ; Thu, 2 Nov 2017 16:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 948BB24157 for ; Thu, 2 Nov 2017 16:22:00 +0000 (UTC) Date: Thu, 2 Nov 2017 16:22:00 +0000 (UTC) From: "Robert Kanter (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-14998) Make AuthenticationFilter @Public MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Nov 2017 16:22:07 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236048#comment-16236048 ] Robert Kanter commented on HADOOP-14998: ---------------------------------------- {quote}Risk here is that it's getting close to jetty & kerberos, where changes over versions can be observable.{quote} That's a valid thing to be concerned about. However, we didn't have to change anything in {{AuthenticationFilter}} when moving from Jetty 6 to 9 (HADOOP-10075). The stability here is probably due to the Java interface, {{javax.servlet.Filter}}. At the least, we could make the {{javax.servlet.Filter}} methods public and leave some of the custom methods private or unstable. > Make AuthenticationFilter @Public > --------------------------------- > > Key: HADOOP-14998 > URL: https://issues.apache.org/jira/browse/HADOOP-14998 > Project: Hadoop Common > Issue Type: Sub-task > Affects Versions: 3.0.0 > Reporter: Robert Kanter > Assignee: Bharat Viswanadham > Priority: Major > > {{org.apache.hadoop.security.authentication.server.AuthenticationFilter}} is currently marked as {{\@Private}} and {{\@Unstable}}. > {code:java} > @InterfaceAudience.Private > @InterfaceStability.Unstable > public class AuthenticationFilter implements Filter { > {code} > However, many other projects (e.g. Oozie, Hive, Solr, HBase, etc) have been using it for quite some time without having any compatibility issues AFAIK. It doesn't seem to have had any breaking changes in quite some time. On top of that, it implements {{javax.servlet.Filter}}, so it can't change too widely anyway. {{AuthenticationFilter}} provides a lot of useful code for dealing with tokens, Kerberos, etc, and we should encourage related projects to re-use this code instead of rolling their own. > I propose we change it to {{\@Public}} and {{\@Evolving}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org