使用Crowd(SSO)导致Confluence无法登陆,启用紧急修复管理员

使用紧急修复管理员

  • 关掉Confluence
  • 编辑<installation-directory>/bin/setenv.sh或者setenv.bat,在Catalina属性中添加
    -Datlassian.recovery.password=<your-password>
  • 通过<installation-directory>/bin/start-confluence.sh启动Confluence
  • 使用用户名密码登陆**recovery_admin**:<your-password>
  • 谨记:修复完成后一定要再重新删掉这句话,关闭此管理功能
    确实可以登陆,但是我并没有通过这个方法找到原因,依旧处于不能认证的状态。

SSO导致无法登陆的真实原因

是Confluence自身的BUG,据说将在5.10.6后修复
参考问题单Crowd SSO users cannot login to Confluence server after upgrading to 5.10.5

解决方案:
停掉SSO,使用Confluence本地验证机制即可。

  • 关闭Confluence
  • 编辑CONFLUENCE/confluence/WEB-INF/classes/seraph-config.xml
  • 注释掉SSO认证,使本地认证生效
<authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/>
<!-- <authenticator class="com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator"/> -->
  • 重启 Confluence

猜你喜欢

转载自blog.csdn.net/yomo127/article/details/80494024