stoty commented on code in PR #5830:
URL: https://github.com/apache/hbase/pull/5830#discussion_r1628780005
##########
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java:
##########
@@ -770,7 +770,7 @@ protected void addDefaultApps(ContextHandlerCollection
parent, final String appD
// set up the context for "/static/*"
ServletContextHandler staticContext = new ServletContextHandler(parent,
"/static");
staticContext.setResourceBase(appDir + "/static");
- staticContext.addServlet(DefaultServlet.class, "/*");
+ staticContext.addServlet(AdminAuthorizedServlet.class, "/*");
Review Comment:
What does AdminAuthorizedServlet do ?
We don't want to limit the static folder to admin users.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]