禁止匿名用户访问 Sonar [英] Disallow anonymous users to access Sonar

查看:15
本文介绍了禁止匿名用户访问 Sonar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已安装 Sonar 3.5.1 并希望禁止匿名用户访问 Web 控制台.我去了安全页面并从用户和代码查看者角色中删除了任何人.但是,当我未经身份验证访问 Web 控制台时,我仍然可以看到欢迎使用 Sonar Dashboard"页面,而我预计会被重定向到登录页面.

I have installed Sonar 3.5.1 and want to disable anonymous users access to the web console. I went to Security page and deleted Anyone from users and codeviewers roles. However, when I visit the web console without authentication I am still able to see "Welcome to Sonar Dashboard" page, whereas I expected to be redirected to the login page.

是否可以完全禁止未经身份验证的用户查看登录页面以外的任何内容?

Is it possible to completely disallow unauthenticated users to see any content except the login page?

推荐答案

您可以在网页管理界面中将sonar.forceAuthentication"设置为true":

You can set the "sonar.forceAuthentication" to "true" in the web admin interface:

请参阅 http://docs.sonarqube.org/display/SONAR/Authentication了解更多详情.

See http://docs.sonarqube.org/display/SONAR/Authentication for more details.

这篇关于禁止匿名用户访问 Sonar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆