diff --git a/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala b/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala index b0e1fc879f587..eda817dd5cdfb 100644 --- a/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala +++ b/core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala @@ -356,11 +356,7 @@ object HistoryServer extends Logging { config.set("spark.ui.acls.enable", "false") } - val secManager = new SecurityManager(config) - secManager.setAcls(config.getBoolean("spark.history.ui.acls.enable", false)) - secManager.setAdminAcls(config.get("spark.history.ui.admin.acls", "")) - secManager.setAdminAclsGroups(config.get("spark.history.ui.admin.acls.groups", "")) - secManager + new SecurityManager(config) } def initSecurity() {