jira confluence SSO with Crowd

论坛 期权论坛 脚本     
匿名技术用户   2021-1-7 04:51   97   0
  1. crowd中创建cl和jira的应用、应用认证和相关用户组,如果jira-administarts jira-software-user, confluence-administrators, confluence-users
  2. Jira cl 配置用户目录,选择crowd类型,并将步骤1配置的各自的应用认证加进来
  3. Jira cl 拷贝crowd的安装目录下的Install-home/client/crowd.perproteise 到jira-install-home/atlassian-jira/WEB-INF/classes 和cl-install-home\confluence\WEB-INF\classes 红色部分对应步骤1创建的应用的username/password

    application.name confluence
    application.password confluence
    application.login.url http://localhost:8095/crowd/console/

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

    session.isauthenticated session.isauthenticated
    session.tokenkey session.tokenkey
    session.validationinterval 2
    session.lastvalidation session.lastvalidation

    application.name myjira
    application.password zhaosen0
    application.login.url http://localhost:8095/crowd/console/

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

    session.isauthenticated session.isauthenticated
    session.tokenkey session.tokenkey
    session.validationinterval 2
    session.lastvalidation session.lastvalidation

  4. cl 修改配置,关闭cl认证,启用SSO

    <!-- Default Confluence authenticator, which uses the configured user management for authentication. -->
    <!-- <authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/> -->

    <!-- Custom authenticators appear below. To enable one of them, comment out the default authenticator above and uncomment the one below. -->

    <!-- Authenticator with support for Crowd single-sign on (SSO). -->
    <authenticator class="com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator"/>

  5. jira修改配置,关闭jira认证,启用SSO

    <!-- CROWD:START - If enabling Crowd SSO integration uncomment the following SSOSeraphAuthenticator and comment out the JiraSeraphAuthenticator below -->
    <!---->
    <authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>

    <!-- CROWD:END -->

    <!-- CROWD:START - The authenticator below here will need to be commented out for Crowd SSO integration -->
    <!--<authenticator class="com.atlassian.jira.security.login.JiraSeraphAuthenticator"/> -->
    <!-- CROWD:END -->

转载于:https://my.oschina.net/u/3457287/blog/1819090

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP