[
https://issues.apache.org/jira/browse/HADOOP-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836836#action_12836836
]
Ravi Gummadi commented on HADOOP-6568:
--------------------------------------
Getting an NPE from HttpServer.java:isAuthorizedAccess() when I tested the
patch.
The following line seems to be getting null into conf. Please check the same
while you add testcase.
Configuration conf =
(Configuration) servletContext.getAttribute(CONF_CONTEXT_ATTRIBUTE);
> Authorization for default servlets
> ----------------------------------
>
> Key: HADOOP-6568
> URL: https://issues.apache.org/jira/browse/HADOOP-6568
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: security
> Reporter: Vinod K V
> Assignee: Vinod K V
> Fix For: 0.22.0
>
> Attachments: HADOOP-6568-20100216.txt
>
>
> We have the following default servlets: /logs, /static, /stacks, /logLevel,
> /metrics, /conf. Barring "/static", rest of the servlets provide information
> that is only for administrators. In the context of security for the
> web-servlets, we need protected access to these pages.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.