jira confluence SSO with Crowd

  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/session

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

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

     

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

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

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

     

  4. cl 修改配置,關閉cl認證,啓用SSO

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

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

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

  5. jira修改配置,關閉jira認證,啓用SSOast

    <!-- 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 -->

相關文章
相關標籤/搜索