Disallow anonymous users to access Sonar

2019-03-18 00:06发布

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?

标签: sonarqube
1条回答
干净又极端
2楼-- · 2019-03-18 00:39

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

 Administration > Configuration > General Settings > Security

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

查看更多
登录 后发表回答