Backport HADOOP-8343 to branch-1 so as to specifically control the authorization requirements for accessing /jmx, /metrics, and /conf in branch-1.
Allow configuration of authorization for JmxJsonServlet and MetricsServlet
Closed upon release of Hadoop 1.2.0.
I committed the patch to branch-1. Thank you Jing for the backport.
+1 the port looks good.