【问题标题】:Allow anonymous authentication on SonarQube 8.6在 SonarQube 8.6 上允许匿名身份验证
【发布时间】:2021-03-23 23:34:34
【问题描述】:

SonarQube 8.6+ enforces user authentication by default.

如何允许自首次启动后匿名访问?

我在本地 Docker 容器上运行 SonarQube,我想自动执行此步骤。也就是说,我正在寻找一个不涉及的解决方案:

  1. 使用default credentials 登录SonarQube(登录名:admin,密码:admin)。
  2. Change the default password。
  3. 从管理>配置>常规设置>安全手动禁用Force user authentication属性。

【问题讨论】:

    标签: authentication sonarqube


    【解决方案1】:

    您可以通过将以下属性添加到 $SONARQUBE-HOME/conf/sonar.properties 文件来启用匿名访问:

    sonar.forceAuthentication=false
    

    如何在 Docker 中修改文件你可以在这里找到:https://stackoverflow.com/a/27714071/4944847

    【讨论】:

      猜你喜欢
      • 2018-04-30
      • 2023-04-09
      • 2011-04-16
      • 2020-07-01
      • 1970-01-01
      • 2015-02-09
      • 1970-01-01
      • 2012-10-14
      • 1970-01-01
      相关资源
      最近更新 更多