[ https://issues.apache.org/jira/browse/HDFS-17774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950851#comment-17950851 ]
ASF GitHub Bot commented on HDFS-17774: --------------------------------------- fuchaohong commented on code in PR #7643: URL: https://github.com/apache/hadoop/pull/7643#discussion_r2084056693 ########## 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: @zeekling Thanks for your review. In HADOOP-16314, the HTTP AuthenticationFilter was unified, and we would also like to follow this configuration here. > 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