Configuring OAuth authentication

If you are using Rational solution for Collaborative Lifecycle Management v3.0.1.0, you must configure OAuth to complete the authentication between JIRA and Jazz server entries.

Before you begin

You are using Rational solution for Collaborative Lifecycle Management v3.0.1.0.

About this task

To configure OAuth authentication follow the steps for your application server. This topic only applies if you are using Rational solution for Collaborative Lifecycle Management v3.0.1.0.

Procedure

  1. Apache Tomcat:
    1. Stop the Jazz Team Server if it is running.
    2. Navigate to the location where the server.startup file is installed. For Windows Windows default location: C:\Program Files\IBM\JazzTeamServer\server\server.startup.bat For Linux.Linux default location:/opt/IBM/JazzTeamServer/server/server-startup.sh
    3. Open the file and find the section where JAVA_OPTS arguments are made.
    4. Append the following JVM argument to the end of the section with the other JVM arguments for: JAVA_OPTS="$JAVA_OPTS -Dcom.ibm.team.repository.service.oauth.legacyMode=true".
    5. Save and close the file.
    6. Restart the Jazz Team Server.
  2. IBM Websphere Application Server:
    1. Start the administrative console. A login page displays after the administrative console starts. Enter your user ID and password.
    2. Click Servers > Server Types > WebSphere application servers.
    3. Click the server in the content pane.
    4. Under Server Infrastructure, click Java and Process Management > Process definition.
    5. Under Additional Properties, click Java Virtual Machine.
    6. Add the value -Dcom.ibm.team.repository.service.oauth.legacyMode=true to the end of the Generic JVM arguments field.
    7. Click Apply, and then click Save directly to the master configuration.
    8. For changes to take effect, restart the application server.
  3. You must also work with the OAuth manager for completing the authentication. If you did not do this while creating the friend servers in Jazz, then from JIRA, go to path to oauth, for example, base_url/rest/oslc/latest/oauth/manager/ and activate the friend server entries before they can be used.

Feedback