이 문서는 Atlassian crowd를 이용해 SonarQube 사용자 관리하는 방법을 제공한다.

참고자료

구성 방법

Crowd

(경고) “Remote adresses IP”에 0.0.0.0/0 추가

SonarQube

Step 1) SonarQube 서버에서 crowd plugin  설치

mv sonar-crowd-plugin-2.1.1.jar <install-directory>/extensions/plugins/


Step 2) Crowd 구성

<install-directory>/conf/sonar.properties 파일에 crowd 연동 설정

     .
     .
     .
#-------------------
# Sonar Crowd Plugin
#-------------------
# To first try to authenticate against the external sytem.
# If the external system is not reachable or if the user is not defined in the external system, the authentication will be performed through the SonarQube internal system.

sonar.security.realm=Crowd
# URL of the Crowd server.
crowd.url=http://localhost/crowd/
# Crowd application name.
# Default is 'sonar'.
crowd.application=sonar
# Crowd application password.
crowd.password=sonar
# Don't use crowd for sonar account
sonar.security.localUsers=admin,sonar

Step 4) SonarQueb service restart