![](https://seapress.store/wp-content/uploads/2023/10/image-198-1024x609.png)
Crowd와 Confluence, Jira 를 연동하여 Group 별로 권한이 주어집니다
사용버전
- Crowd 5.1.1
- Confluence 7.19.4 LTS
- Jira → 9.4.0 LTS
Jira, Confluence, Crowd 를 모두 실행 시켜 줍니다
![](https://seapress.store/wp-content/uploads/2023/10/image-132.png)
Directory 생성
- Crowd에서 진행 합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-133-1024x540.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-134-1024x445.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-135-1024x585.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-139-1024x702.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-140-1024x123.png)
User 생성
- Crowd에서 진행 됩니다
![](https://seapress.store/wp-content/uploads/2023/10/image-141-1024x349.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-142.png)
Group 생성
- Crowd에서 진행 합니다
![](https://seapress.store/wp-content/uploads/2023/10/image-143-1024x370.png)
Group을 Directory에 연결
![](https://seapress.store/wp-content/uploads/2023/10/image-146-1024x440.png)
각 User를 Group에 연결
![](https://seapress.store/wp-content/uploads/2023/10/image-147-1024x445.png)
Application 추가
- Confluence 와 Jira APP을 연결합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-148-1024x371.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-149-1024x309.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-150-1024x412.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-151-1024x448.png)
Crowd Directory 등록
- Confluence 에서 진행 됩니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-152-1024x456.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-153-1024x669.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-154-1024x390.png)
그룹 권한 할당
- 동기화 후 Crowd에서 생성한 그룹에 권한을 부여합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-155-1024x481.png)
- 결과
![](https://seapress.store/wp-content/uploads/2023/10/image-156-1024x177.png)
- JIRA 유저는 접근 되지 않습니다
![](https://seapress.store/wp-content/uploads/2023/10/image-158-1024x633.png)
Jira 설정
- Jira에서 설정합니다
![](https://seapress.store/wp-content/uploads/2023/10/image-160-1024x459.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-161-1024x363.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-162-1024x444.png)
- Synchronise 를 눌러 동기화를 합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-164-1024x410.png)
권한 할당
- 동기화 후 Crowd에서 생성한 그룹을 추가해줍니다
![](https://seapress.store/wp-content/uploads/2023/10/image-165-1024x399.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-171-1024x591.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-172.png)
- 설정 확인
![](https://seapress.store/wp-content/uploads/2023/10/image-174-1024x359.png)
Crowd 관련 Config 설정
- 서비스 중단 후 설정 합니다.
- Confluence 서비스 중단
bash /Atlassian/atlassian-confluence-7.19.4/bin/stop-confluence.sh
crowd.properties
파일 수정
vim /Atlassian/atlassian-confluence-7.19.4/confluence/WEB-INF/classes/crowd.properties
![](https://seapress.store/wp-content/uploads/2023/10/image-175-1024x473.png)
Confluence 서비스 시작
bash /Atlassian/atlassian-confluence-7.19.4/bin/start-confluence
Jira도 동일하게 진행합니다.
- 서비스 중단.
bash /Atlassian/atlassian-jira-software-9.4.0-standalone/bin/stop-jira.sh
crowd.properties 파일 수정
- Jira는 classes 디렉터리에 crowd.properties 파일이 존재하지 않아 생성합니다.
vim /Atlassian/atlassian-jira-software-9.4.0-standalone/atlassian-jira/WEB-INF/classes/crowd.properties
![](https://seapress.store/wp-content/uploads/2023/10/image-176-1024x460.png)
입력 후 서비스 시작
bash /Atlassian/atlassian-jira-software-9.4.0-standalone/bin/start-jira.sh
Crowd
- Trusted Proxy는 Proxy 서버를 등록합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-177-1024x375.png)
커넥터 지시문 구성
- Application의
server.xml
의 Connector를 수정해야합니다.
server.xml 파일 위치
Crowd
- /Atlassian/atlassian-crowd-5.1.1/apache-tomcat/conf/server.xml
Confluence
- /Atlassian/atlassian-confluence-7.19.4/conf/server.xml
Jira
- /Atlassian/atlassian-jira-software-9.4.0-standalone/conf/server.xml
아래와 같이 설정 해줍니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-189.png)
<Crowd>
![](https://seapress.store/wp-content/uploads/2023/10/image-190-1024x169.png)
<Jira>
![](https://seapress.store/wp-content/uploads/2023/10/image-187-1024x185.png)
<Confluence>
Apache 구성
- mod_proxy 모듈 활성화
a2enmod proxy \
proxy_http \
proxy_wstunnel \
proxy_balancer \
lbmethod_byrequests \
headers \
rewrite \
proxy_hcheck
서비스 시작 후
![](https://seapress.store/wp-content/uploads/2023/10/image-191-1024x338.png)
Atlassian Crowd SSO(Single Sign-On) 연동하기
- Jira 서비스를 중지한다.
- 설치한 Jira 경로의 /webapp/WEB-INF/classes/seraph-config.xml 파일을 아래와 같이 수정합니다.
![](https://seapress.store/wp-content/uploads/2023/10/image-193.png)
(수정전)
![](https://seapress.store/wp-content/uploads/2023/10/image-194.png)
(수정후)
<!-- <authenticator class="com.atlassian.jira.security.login.JiraSeraphAuthenticator"/> -->
#100라인 주석 처리
<authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>
# 95라인 주석 제거
![](https://seapress.store/wp-content/uploads/2023/10/image-195-1024x400.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-196-1024x438.png)
![](https://seapress.store/wp-content/uploads/2023/10/image-197-1024x422.png)
참조
https://confluence.atlassian.com/crowd/introduction-to-crowd-152043763.html?ref=hons.io
https://confluence.curvc.com/pages/releaseview.action?pageId=81664943
https://confluence.atlassian.com/crowd/overview-of-sso-1794452
https://confluence.atlassian.com/crowd/the-crowd-properties-file-98665664.html
https://www.atlassian.com/ko/software/access/guide/single-sign-on#how-it-works