File-Based Owner Adapter

By default, the OAuth server provides the file- based owner adapter. To use the file-based owner adapter, follow these steps:

Procedure

  1. Log in to the Config UI using your credentials.
  2. On the home page on the Config UI, select the Gateway Engine Properties from the drop-down list.
  3. Expand the Gateway Engine Properties node.
  4. Click the SECURITY > Security tab.
  5. Expand the OAuth node.
  6. Set the properties as follows:
    Owner Adapter Properties for File
    Property Value
    Owner Adapter com.tibco.asg.oauth.identity.provider.file.OwnerAdapterService
    Resource Path Name /examples/OAuth/resources
  7. Click Save to save changes.
  8. Set the owner credentials in the ASG_HOME\examples\OAuth\resources\owner.properties file.
    Note: The owner adapter properties can be set in ASG_CONFIG_HOME\asg.properties file, as follows:
    1. Navigate to the ASG_CONFIG_HOME directory.
    2. Edit the asg.properties file in a text editor.
    3. Set the following property:

      tibco.clientVar.oauth.owner.adapter.class=com.tibco.asg.oauth.

      identity.provider.file.OwnerAdapterService

    4. Save changes to the asg.properties file.