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 "Daryn Sharp (JIRA)" <ji...@apache.org> on 2014/01/28 22:29:31 UTC

[jira] [Created] (HADOOP-10301) AuthenticationFilter should return Forbidden for failed authentication

Daryn Sharp created HADOOP-10301:
------------------------------------

             Summary: AuthenticationFilter should return Forbidden for failed authentication
                 Key: HADOOP-10301
                 URL: https://issues.apache.org/jira/browse/HADOOP-10301
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 2.0.0-alpha, 0.23.0, 3.0.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp
            Priority: Blocker


The hadoop-auth AuthenticationFilter returns a 401 Unauthorized without a WWW-Authenticate headers.  The is illegal per the HTTP RPC and causes a NPE in the HttpUrlConnection.

This is half of a fix that affects webhdfs.  See HDFS-4564.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)