File-Based Client Adapter

By default, the OAuth server provides the file- based owner adapter. To use the file-based client 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:
    Client Adapter Properties for File
    Property Value
    Client Adapter com.tibco.asg.oauth.identity.provider.file.ClientAdapterService
    Resource Path Name /examples/OAuth/resources
  7. Click Save to save changes.
  8. Set the properties for the client adapter in the ASG_HOME\examples\OAuth\resources\client.properties file.
    Note: The client adapter properties can also be set in the 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.client.adapter.class=com.

      tibco.asg.oauth.identity.provider.file.ClientAdapterService

    4. Save changes to the asg.properties file.