Configuring OAuth-OSLC authentication for Rational DOORS Web Access

Create a oslcServiceProviders.xml to store the base_url, consumer_key, and secret property values.

Procedure

  1. Create a copy of the sample in the Rational® Publishing Engine installation directory: %RPE_HOME%/config/oslcServiceProviders-sample.xml
  2. In the title tags, provide a name for the data source provider.
  3. In the description tags, provide a description or notes for the data source provider.
  4. In the base_url tags, provide the base URL to the data source.

    To identify the URL in Rational DOORS®, right-click an object URL from an open module and click Copy URL.

    Example: https://server:port/dwa/rm/urn:rational::object_number

  5. In the pattern tags, provide the URL pattern of the data source. When you have a list of data sources specified in the oslcServiceProviders.xml file, the pattern is used to identify which data source details match the data source requirements. Example: https://server:port/dwa
  6. In the consumer_key tags, provide the consumer key from the data source.

    To identify the consumer_key value, in Rational DOORS click File > OSLC > Local keys.

  7. In the secret tags, provide the secret value from the data source.

    To identify the secret value, in Rational DOORS click File > OSLC > Local keys. Locate the OAuth secret field. The OAuth secret value is the value to enter in the Rational Publishing Engine secret property.

  8. Save the oslcServiceProviders.xml file to a location outside of the Rational Publishing Engine installation directory.

What to do next

Specify the location of the oslcServiceProviders.xml with the -Dcom.ibm.rational.rpe.config.oslcServiceProviders flag and the authentication credentials with the -Dcom.ibm.rational.rpe.config.oslcServiceProviders.pwd and -Dcom.ibm.rational.rpe.config.oslcServiceProviders.usr flags.

See one of the following topics for more information about configuring flags for WebSphere® Application Server, Apache Tomcat, or the client applications.


Feedback