[ https://issues.apache.org/jira/browse/HDFS-17774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950748#comment-17950748 ]
ASF GitHub Bot commented on HDFS-17774: --------------------------------------- zeekling commented on code in PR #7643: URL: https://github.com/apache/hadoop/pull/7643#discussion_r2083440873 ########## hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java: ########## @@ -93,6 +99,27 @@ public static void initWebHdfs(Configuration conf, HttpServer2 httpServer2, final String pathSpec = WebHdfsFileSystem.PATH_PREFIX + "/*"; + if (conf.get(HADOOP_SECURITY_AUTHENTICATION, + "simple").equalsIgnoreCase("kerberos") && + conf.get(HADOOP_HTTP_AUTHENTICATION_TYPE, + "simple").equalsIgnoreCase("simple") && Review Comment: Why this is simple? > Add authentication switch for WebHDFS. > -------------------------------------- > > Key: HDFS-17774 > URL: https://issues.apache.org/jira/browse/HDFS-17774 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: fuchaohong > Priority: Major > Labels: pull-request-available > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org