YaxuSong

代码的世界我不懂.

  • 主页
  • 随笔
  • JAVA
  • Linux
  • ATLASSIAN
  • 简历
搜索 友请链接 关于我

YaxuSong

代码的世界我不懂.

  • 主页
  • 随笔
  • JAVA
  • Linux
  • ATLASSIAN
  • 简历

Atlassian产品使用单点登陆-SSO

2017-12-13

一、配置JIRA

1.修改/atlassian-jira/WEB-INF/classes/seraph-config.xml

<!--注释以下节点-->
<!--<authenticator class="com.atlassian.jira.security.login.JiraSeraphAuthenticator"/>-->

<!--取消注释以下节点-->
<authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>

2.复制/client/conf/crowd.properties到<JIRA-INSTALLATION/atlassian-jira/WEB-INF/classes下.

编辑/atlassian-jira/WEB-INF/classes/crowd.properties

Key Value
application.name jira The application name must match the name that you specified when you defined the application in Crowd (see Step 1 above).
application.password The password must match the one that you specified when you defined the application in Crowd (see Step 1 above).
crowd.base.url eg. (http://localhost:8095/crowd/)If your Crowd server’s port is configured differently from the default (i.e. 8095), set it accordingly.crowd.base.url must be the same URL used to access Crowd in your Browser.
session.validationinterval Set to 0, if you want authentication checks to occur on each request. Otherwise set to the number of minutes between request to validate if the user is logged in or out of the Crowd SSO server. Setting this value to 1 or higher will increase the performance of Crowd’s integration.
以上信息几乎在文件里边都有,只需修改对应的取值即可

二、配置bitbucket

添加/shared/bitbucket.properties

plugin.auth-crowd.sso.enabled=true

一些可选的参数:

key value description
plugin.auth-crowd.sso.enabled false Whether SSO support should be enabled or not. Regardless of this setting SSO authentication will only be activated when the system is connected to a Crowd directory that is configured for SSO.
plugin.auth-crowd.sso.config.ttl 15 The auth plugin caches the SSO configuration that is retrieved from the remote Crowd server. This setting controls the time to live of that cache.This value is in minutes.
plugin.auth-crowd.sso.config.error.wait 1 If an error occurs while retrieving the SSO configuration from the remote Crowd server, the system will wait this long before retrying. The wait time between subsequent attempts is incremented exponentially (1s -> 1.5s -> 2.3s -> 3.4s, etc). The wait time is capped at the configured TTL.This value is in seconds.
plugin.auth-crowd.sso.http.max.connections 20 The maximum number of HTTP connections in the connection pool for communication with the Crowd server.
plugin.auth-crowd.sso.http.proxy.host The name of the proxy server used to transport SOAP traffic to the Crowd server.
plugin.auth-crowd.sso.http.proxy.port The connection port of the proxy server (must be specified if a proxy host is specified).
plugin.auth-crowd.sso.http.proxy.username The username used to authenticate with the proxy server (if the proxy server requires authentication).
plugin.auth-crowd.sso.http.proxy.password The password used to authenticate with the proxy server (if the proxy server requires authentication).
plugin.auth-crowd.sso.http.timeout 5000 The HTTP connection timeout used for communication with the Crowd server. A value of zero indicates that there is no connection timeout.This value is in milliseconds.
plugin.auth-crowd.sso.socket.timeout 20000 The socket timeout. You may wish to override the default value if the latency to the Crowd server is high.This value is in milliseconds.
plugin.auth-crowd.sso.session.validationinterval 3 The number of minutes to cache authentication validation in the session. If this value is set to 0, each HTTP request will be authenticated with the Crowd server.
plugin.auth-crowd.sso.session.lastvalidation atl.crowd.sso.lastvalidation The session key to use when storing a Date value of the user’s last authentication.
plugin.auth-crowd.sso.session.tokenkey atl.crowd.sso.tokenkey The session key to use when storing a String value of the user’s authentication token.

三、配置confluence

1.修改/confluence/WEB-INF/classes/seraph-config.xml

<!--注释以下节点-->
<!-- <authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/> -->

<!--取消注释以下节点-->
<authenticator class="com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator"/>

2.复制/client/conf/crowd.properties到<CONFLUENCE-INSTALLATION/confluence/WEB-INF/classes下.

编辑/confluence/WEB-INF/classes/crowd.properties

Key Value
application.name confluence The application name must match the name that you specified when you defined the application in Crowd (see Step 1 above).
application.password The password must match the one that you specified when you defined the application in Crowd (see Step 1 above).
crowd.base.url eg. (http://localhost:8095/crowd/)If your Crowd server’s port is configured differently from the default (i.e. 8095), set it accordingly.crowd.base.url must be the same URL used to access Crowd in your Browser.
session.validationinterval Set to 0, if you want authentication checks to occur on each request. Otherwise set to the number of minutes between request to validate if the user is logged in or out of the Crowd SSO server. Setting this value to 1 or higher will increase the performance of Crowd’s integration.
以上信息几乎在文件里边都有,只需修改对应的取值即可

四、配置bamboo

1.编辑\webapp\WEB-INF\classes\seraph-config.xml

<!--注释以下节点-->
<!--<authenticator class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/>-->

<!--取消注释以下节点-->
<authenticator class="com.atlassian.crowd.integration.seraph.v25.BambooAuthenticator"/>

五、配置fisheye

修改FISHEYE_INST/config.xml

<config>
...
    <security allow-anon="false" allow-cru-anon="false">
        <built-in>
                <signup enabled="true"/>
        </built-in>
        <crowd sso-enabled="true"/>
        <admins>
                <system-admins>
                        <group>confluence-users</group>
                </system-admins>
        </admins>
        <avatar><disabled/></avatar>
        <emailVisibility/>
    </security>
...
</config>
//以上内容只需添加<crowd sso-enabled="true"/>

六、配置jiraServiceDesk

请参考 一、配置JIRA
赏

谢谢你请我吃糖果

支付宝
微信
  • ATLASSIAN

扫一扫,分享到微信

微信分享二维码
Nginx代理Atlassian产品(1):Use Domain:www.mydomain.com/*
Atlassian产品安装环境准备-数据库(1):MySQL
  1. 1. 一、配置JIRA
    1. 1.0.1. 1.修改/atlassian-jira/WEB-INF/classes/seraph-config.xml
    2. 1.0.2. 2.复制/client/conf/crowd.properties到<JIRA-INSTALLATION/atlassian-jira/WEB-INF/classes下.
  • 2. 二、配置bitbucket
  • 3. 三、配置confluence
    1. 3.0.1. 1.修改/confluence/WEB-INF/classes/seraph-config.xml
    2. 3.0.2. 2.复制/client/conf/crowd.properties到<CONFLUENCE-INSTALLATION/confluence/WEB-INF/classes下.
  • 4. 四、配置bamboo
    1. 4.0.1. 1.编辑\webapp\WEB-INF\classes\seraph-config.xml
  • 5. 五、配置fisheye
  • 6. 六、配置jiraServiceDesk
  • Like Issue Page
    Error: Not Found
    Login with GitHub
    Styling with Markdown is supported
    Powered by Gitment
    © 2019 YaxuSong
    Hexo Theme Yilia by Litten
    • 搜索
    • 友请链接
    • 关于我

    tag:

    • 随笔
    • ATLASSIAN
    • 读书笔记
    • Java
    • Linux
    • JAVA

      缺失模块。
      1、请确保node版本大于6.2
      2、在博客根目录(注意不是yilia根目录)执行以下命令:
      npm i hexo-generator-json-content --save

      3、在根目录_config.yml里添加配置:

        jsonContent:
          meta: false
          pages: false
          posts:
            title: true
            date: true
            path: true
            text: false
            raw: false
            content: false
            slug: false
            updated: false
            comments: false
            link: false
            permalink: false
            excerpt: false
            categories: false
            tags: true
      

    • jira-managing-project-permissions

      2018-08-22

      #读书笔记

    • SpringBoot使用Swagger2

      2018-06-10

      #JAVA

    • Redisson 的介绍与使用

      2018-06-04

      #JAVA

    • Spring Boot 关乎java程序员

      2018-05-16

      #JAVA

    • Kafka在SpringBoot 2.0中的整合-1

      2018-05-07

      #JAVA

    • 微信公众号后台在SpringBoot2.0中的实现(上)

      2018-05-01

      #JAVA

    • Kafka在SpringBoot 2.0中的整合

      2018-04-23

      #Java

    • Redis在SpringBoot 2.0中的整合

      2018-04-18

      #Java

    • 好久都没有发表博客了

      2018-04-18

      #随笔

    • 使用Xtrabackup备份InnoDB(MySQL)

      2018-03-06

      #Linux

    • LinuxMySQL的安装(3)

      2018-02-08

      #Linux

    • Linux下MySQL主从数据库的安装与配置

      2018-02-08

      #Linux

    • Linux离线安装Nginx

      2018-02-07

      #Linux

    • Linux定时任务备份mysql和数据

      2018-02-06

      #ATLASSIAN#Linux

    • 回家过年前一周

      2018-02-05

      #随笔

    • LinuxMySQL的安装(2)

      2018-02-02

      #ATLASSIAN#Linux

    • Atlassian产品设置JVM

      2018-01-31

      #读书笔记

    • Crucible安装

      2018-01-29

      #读书笔记

    • 当璀璨速朽成尘埃

      2018-01-25

      #读书笔记

    • JIRA高于7.2版本导出xlsx格式的EXCEL文件

      2018-01-22

      #ATLASSIAN

    • Linux离线git的安装

      2018-01-17

      #Linux

    • 终于复活啦

      2018-01-15

      #随笔

    • LinuxMySQL的安装(1)

      2018-01-15

      #ATLASSIAN#Linux

    • Bitbucket的安装

      2018-01-15

      #ATLASSIAN

    • JIRA修改license

      2018-01-11

      #ATLASSIAN

    • rsync的使用与配置

      2018-01-09

      #Linux

    • 最近电脑重装了,导致电脑里边的博客全没了

      2018-01-08

      #随笔

    • JIRA安装

      2017-12-15

      #ATLASSIAN

    • Nginx代理Atlassian产品(2):Use Domain:*.mydomain.com

      2017-12-13

      #ATLASSIAN

    • Nginx代理Atlassian产品(1):Use Domain:www.mydomain.com/*

      2017-12-13

      #ATLASSIAN

    • Atlassian产品使用单点登陆-SSO

      2017-12-13

      #ATLASSIAN

    • Atlassian产品安装环境准备-数据库(1):MySQL

      2017-12-11

      #ATLASSIAN

    • 《Thinking in java》读书笔记(23)

      2017-11-24

      #读书笔记#Java

    • 《Thinking in java》读书笔记(22)

      2017-11-24

      #读书笔记#Java

    • Java工程师成神之路

      2017-11-24

      #Java

    • say something to myself

      2017-11-23

      #随笔

    • 怀念那些我喜欢的经典

      2017-10-25

      #随笔

    • 《Thinking in java》读书笔记(21)

      2017-10-24

      #读书笔记#Java

    • 国庆快乐

      2017-10-01

      #随笔

    • 《Thinking in java》读书笔记(20)

      2017-09-30

      #读书笔记#Java

    • 《Thinking in java》读书笔记(19)

      2017-09-27

      #读书笔记#Java

    • 《Thinking in java》读书笔记(18)

      2017-09-18

      #读书笔记#Java

    • 《Thinking in java》读书笔记(17)

      2017-09-18

      #读书笔记#Java

    • 《Thinking in java》读书笔记(16)

      2017-09-11

      #读书笔记#Java

    • 回忆总是会使我泪流满面

      2017-09-05

      #随笔

    • 迷茫

      2017-09-01

      #随笔

    • 一个人的情人节

      2017-08-28

      #随笔

    • 没有什么事情是办不到的,只怕你没法战胜自己

      2017-08-23

      #随笔

    • 感觉最近有点霉运

      2017-08-07

      #随笔

    • 确实感觉还是有点小累的

      2017-08-04

      #随笔

    • 难受

      2017-08-01

      #随笔

    • 《Thinking in java》读书笔记(15)

      2017-08-01

      #读书笔记#Java

    • 感觉慢慢的步入正轨了

      2017-07-31

      #随笔

    • 每次写标题都很困难啊

      2017-07-24

      #随笔

    • 2017.07.18记

      2017-07-18

      #随笔

    • 《Thinking in java》读书笔记(14)

      2017-07-14

      #读书笔记#Java

    • 停更ThinKing in Java的读书笔记

      2017-07-11

      #读书笔记

    • 做决定看似简单其实很难

      2017-07-05

      #随笔

    • 《Thinking-in-java》读书笔记(13)

      2017-06-23

      #读书笔记#Java

    • 《Thinking in java》读书笔记(12)

      2017-06-22

      #读书笔记#Java

    • 《Thinking in java》读书笔记(11)

      2017-06-22

      #读书笔记#Java

    • 《Thinking in java》读书笔记(10)

      2017-06-21

      #读书笔记#Java

    • 《Thinking in java》读书笔记(9)

      2017-06-17

      #读书笔记#Java

    • 《Thinking in java》读书笔记(8)

      2017-06-15

      #读书笔记

    • 《Thinking in java》读书笔记(7)

      2017-06-14

      #读书笔记

    • 一些想法

      2017-06-14

      #随笔

    • 《Thinking in java》读书笔记(6)

      2017-06-12

      #读书笔记#Java

    • 《Thinking in java》读书笔记(5)

      2017-06-10

      #读书笔记#Java

    • 《Thinking in java》读书笔记(4)

      2017-06-07

      #读书笔记#Java

    • 决定

      2017-06-07

      #随笔

    • 《Thinking in java》读书笔记(3)

      2017-06-06

      #读书笔记#Java

    • 听完这首歌忘记所有的一切

      2017-06-05

      #随笔

    • 《Thinking in java》读书笔记(2)

      2017-06-04

      #读书笔记#Java

    • 《Thinking in java》读书笔记(1)

      2017-06-01

      #读书笔记#Java

    • 六一儿童节快乐

      2017-06-01

      #随笔

    • The mood may be better

      2017-05-31

      #随笔

    • NoTitle

      2017-05-27

      #随笔

    • 努力吧,少年

      2017-05-26

      #随笔

    • 想念那些日子

      2017-05-08

      #随笔

    • 此时此刻的心情

      2017-05-04

      #随笔

    • welcome

      2017-05-03

      #随笔

    • Leno's Blog
    • GitHub
    • CSDN博客
    • 国内站点(同站)
    宋亚旭,就读于内蒙古大学软件工程专业,在大学期间就很喜欢写代码,现在在一家公司做Java后端工作。