Testing the oauth1a authentication type before oauth

When a data source requires authentication, each authentication type that is supported by Rational® Publishing Engine (form, basic, oauth, oauth1a) is tested until the correct type is found. In Rational Publishing Engine 1.1.2.2, you can shorten the testing process for data sources that require oauth1a authentication by having the oauth1a type tested before oauth. By doing so, you can improve performance without making changes to each template or document specification.

If your data source requires oauth1a authentication and you are using a complex template that requires many requests from the data source, you might see a significant performance improvement in document generation time when you include the specific authentication type in the configuration files.

Before you begin

If you are using Rational Publishing Engine 1.1.2.1 or earlier, upgrade to Rational Publishing Engine 1.1.2.2 to complete this task.

About this task

When you are using oauth1a authentication for a data source, complete this task to improve the performance when:

Procedure

  1. Open the configuration files for the components with a text editor.
    • For Document Studio, the default location of the configuration file is %RPE_HOME%\studio\rpe-studio.ini
    • For Launcher, the default location of the configuration file is %RPE_HOME%\launcher\rpe-launcher.ini
  2. Add the following to the end of each file: -Dcom.ibm.rational.rpe.authentication.oauth=oauth1a
  3. Save the changes.

Results

The order that the authentication types are tested is now form, basic, oauth1a, oauth.

What to do next

You can improve performance even more by:

Feedback