Confluence与Crowd通信设置

Confluence与Crowd通信设置
<<
Jira与crowd通信设置(之前要做ldap)>>

 

重要:首先依然是要将Confluence的外部管理开启(管理员用户)

开启外部管理操作:安全性—>> Security Configuration — >>编辑,勾选外部用户管理 — >>保存

之前操作跟jira的一样,但不需要在建目录了,只需建立Application就可以了

以下为配置文件的修改编辑等!

设置环境变量(这两步是为了你们看着方便的,CROWD和WIKI)

[root@kinggoo crowd]# CROWD=/root/Guanli/crowd

[root@kinggoo confluence]# WIKI=/root/Guanli/confluence

一、需要拷贝的文件

从这里

拷贝到

$CROWD/client/crowd-integration-client-X.X.X.jar

$WIKI/confluence/WEB-INF/lib

$CROWD/client/conf/crowd.properties

$WIKI/confluence/WEB-INF/classes

$CROWD/client/conf/crowd-ehcache.xml

$WIKI/confluence/WEB-INF/classes

 

 

如果你是新安装的WIKI此次无需备份拷贝到的目标文件

[root@kinggoo lib]# cp /root/Guanli/crowd/client/crowd-integration-client-2.0.7.jar .

[root@kinggoo lib]# cp /root/Guanli/crowd/client/conf/crowd.properties .

[root@kinggoo lib]# cp /root/Guanli/crowd/client/conf/crowd-ehcache.xml .

二、修改配置文件

[root@kinggoo lib]# cd $WIKI/confluence/WEB-INF/classes/

[root@kinggoo classes]# vim atlassian-user.xml,去掉找到crowd,去掉此处注释

For more information, please see:

http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence

–>

<!–

<crowd key="crowd" name="Crowd Repository"/>

–>

<!– END of CROWD repository –>

保存

在[root@kinggoo classes]# $WIKI/confluence/WEB-INF/classes目录下vim crowd.properties

修改application.password=新建confluence应用的密码

及application.name=新建confluence应用的名称

#Thu Oct 12 11:56:52 PDT 2006

session.lastvalidation=session.lastvalidation

session.isauthenticated=session.isauthenticated

application.password=confluence

application.name=kinggoo-confluence

session.validationinterval=0

crowd.server.url=http://localhost:8095/crowd/services/

session.tokenkey=session.tokenkey

application.login.url=http://localhost:8080/

编辑seraph-config.xml

[root@kinggoo classes]# vim seraph-config.xml

(红色添加注释,蓝色去掉注释)

注释掉以下内容:

<!–
<authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/>
–>

去掉注释打开以下内容:(新版本添加)

<!–
<authenticator class="com.atlassian.crowd.integration.seraph.ConfluenceAuthenticator"/>

–>

[root@kinggoo classes]# cd $WIKI/bin

Confluence有部分内容来至网络文档“51CTO下载-Index-基于Attlassian Crowd套件集成SSO”

已如上所说,如果你在配置好后,重启confluence时,日志有如下错误:

com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:225)
Stack Trace:[hide]

则需要修改seraph-config.xml

[root@kinggoo classes]# vim seraph-config.xml
<authenticator class="com.atlassian.crowd.integration.seraph.ConfluenceAuthenticator"/>

改为

<authenticator class="com.atlassian.crowd.integration.seraph.v22.ConfluenceAuthenticator"/>

因为我为出现这个问题,所以只是将其添加上,为以后其他人减少出错时间!

集成参考:http://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence

主要出错:http://confluence.atlassian.com/display/CONFKB/Confluence+Fails+to+Start+After+Crowd+Integration

- THE END -
版权声明:
转载原创文章请注明,文章出处://kinggoo.com
原文地址:https://kinggoo.com/app-crowd-confluence-ldap.htm
发表评论?

2 条评论。

  1. Glad I’ve fnially found something I agree with!

回复给 KingGoo.Com ¬
取消回复


此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据