Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19631#discussion_r150751268
  
    --- Diff: core/src/main/scala/org/apache/spark/SecurityManager.scala ---
    @@ -551,13 +553,10 @@ private[spark] class SecurityManager(
     
     private[spark] object SecurityManager {
     
    -  val SPARK_AUTH_CONF: String = "spark.authenticate"
    -  val SPARK_AUTH_SECRET_CONF: String = "spark.authenticate.secret"
    +  val SPARK_AUTH_CONF = NETWORK_AUTH_ENABLED.key
    +  val SPARK_AUTH_SECRET_CONF = "spark.authenticate.secret"
    --- End diff --
    
    I think we can also make this as a `ConfigEntry`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to