Data source authentication

Some data sources require authentication to access the data on a protected server. When Rational® Publishing Engine has to retrieve data from a protected server, each authentication type is tested automatically until the correct one for the data source is found. Instead of waiting for each type to be tested, you can specify authentication types in templates and document specifications with your credentials so you do not have to wait for Rational Publishing Engine to test each authentication type.

Authentication types

You can enter one of these case-sensitive authentication types in the authentication property for a data source in a template or document specification:
  1. form
  2. basic
  3. oauth
  4. oauth1a

If you do not enter an authentication type or enter auto in Document Studio, each type is tested in the order above until the correct type is found.

Improve performance by specifying the authentication type

You can improve document generation performance by:
Note: For data sources that support only oauth1a, you must set the authentication property to oauth1a explicitly. An auto-detection algorithm results in failure and the oauth1a cannot be verified. This failure occurs because the OAuth algorithm falsely reports authentication success. The auto algorithm stops, but the data that is accessed is actually the login page itself and not the real data. To enable or allow the usage of auto mode for oauth1a data sources, complete the Testing the oauth1a authentication type before oauth task.

Feedback