Jira and Confluence Federated logins based on crowd

Source: Internet
Author: User
Tags mysql database

The company's Jira and wikis have been in use for a long time and have implemented user-integrated logins with the same username and password. But each login two applications must lose two times username and password, feel inconvenient, so decided to jira and wiki implementation of single sign-on, I was using crowd to achieve a single sign-on and management.

The following is the installation process:

I. Installation of JIRA and wikis

My version here is jira4.4.4,confluence-5.1.2. JDK environment has been installed, the specific installation steps do not say, online many installed cracked. MySQL has also been installed on the 192.168.0.212 machine.

II. installation and preparation of crowd

1. Package download

I'm going to put the package directly under the/root.

Download package atlassian-crowd-2.7.0.tar.gz, download address https://www.atlassian.com/software/crowd/download

Download JDBC Connector Mysql-connector-java-5.1.6-bin.jar

2. Install Java environment in local widows

Download the Install jdk-7u40-windows-i586 Application (Windows edition)

For detailed steps, click on the link.

Http://wenku.baidu.com/view/0dbcf09a71fe910ef12df8e8.html

Third, the crowd of the crack installation

1, modify the configuration file

[Root@vm231atlassian] #tarzxfatlassian-crowd-2.7.0.tar.gz-c/opt/atlassian/crowd/

[Root@vm231crowd] #mkdircrowd_home

Create a crowd_home as a crowd profile directory

[Root@vm231crowd] #cdatlassian-crowd-2.7.0/crowd-webapp/web-inf/classes/

[Root@vm231classes] #vimcrowd-init.properties

Change the Crowd.home property to the profile directory established for crowd

2, crowd and MySQL database connection

Log on to the 192.168.0.212 machine (the machine where the database is installed) and configure the Add database:

[root@localhost~] #mysql-uroot-p

Enterpassword:

...

mysql>createdatabasecrowdcharactersetutf8;

mysql>grantalloncrowd.*tocrowd@ "%" identifiedby "crowd";

mysql>grantalloncrowd.*tocrowd@ "localhost" identifiedby "crowd";

3, for crowd plus MySQL driver

This column more highlights: http://www.bianceng.cn/webkf/tools/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.