Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-11999

Add XFire (Crowd) dependency libraries and adjust configuration file to have stubbed out Crowd configurations.

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The following JARs need to be included for Crowd to work:

      commons-codec-1.3.jar
      commons-collections-3.1.jar
      commons-httpclient-3.0.jar
      commons-logging-1.0.4.jar
      jdom-1.0.jar
      oscache-2.3.jar
      stax-api-1.0.1.jar
      wstx-asl-2.9.3.jar
      xfire-all-1.2.1.jar
      

      The user will only then need to copy over the Crowd jars for the version they have downloaded because we will be using the XFire libs. The most important one here is the commons-httpclient-3.0.jar must be version 3.0 or higher because of a library change after rc3.

      Add the following files to the WEB-INF/classes folder:

      crowd.properties:

      application.name                        jira
      application.password                    password
      application.login.url                   http://localhost:8080/jira/
      
      crowd.server.url                        http://localhost:8085/crowd/services/
      
      session.isauthenticated                 session.isauthenticated
      session.tokenkey                        session.tokenkey
      session.validationinterval              0
      session.lastvalidation                  session.lastvalidation
      

      Change the osuser.xml to be like this:

      <!-- This is where JIRA's credentials checking can be configured.  For instance, see
      http://www.atlassian.com/software/jira/docs/latest/ldap.html -->
      <opensymphony-user>
      
      	<authenticator class="com.opensymphony.user.authenticator.SmartAuthenticator" />
      
      <!-- You will need to uncomment the Crowd providers below to enable Crowd integration -->
      <!--
          <provider class="com.atlassian.crowd.integration.osuser.CrowdCredentialsProvider"/>
          <provider class="com.atlassian.crowd.integration.osuser.CrowdAccessProvider"/>
          <provider class="com.atlassian.crowd.integration.osuser.CrowdProfileProvider"/>
      -->
      
      <!-- CROWD:START  -- The providers below here will need to be commented out for Crowd integration -->
      	<provider class="com.atlassian.core.ofbiz.osuser.CoreOFBizCredentialsProvider">
      		<property name="exclusive-access">true</property>
      	</provider>
      
      	<provider class="com.opensymphony.user.provider.ofbiz.OFBizProfileProvider">
      		<property name="exclusive-access">true</property>
      	</provider>
      
      	<provider class="com.opensymphony.user.provider.ofbiz.OFBizAccessProvider">
      		<property name="exclusive-access">true</property>
      	</provider>
      
      <!-- CROWD:END -->
      
      </opensymphony-user>
      

      Add the following propertyset provider to the properset.xml file:

      <propertyset name="crowd" class="com.atlassian.crowd.integration.osuser.CrowdPropertySet"/>
      

      Attachments

        1. code(1).gif
          code(1).gif
          0.1 kB
        2. screenshot-1.jpg
          screenshot-1.jpg
          96 kB

        Issue Links

          Activity

            People

              chris@atlassian.com Chris Mountford
              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1h
                  1h