File-Based Scope Adapter

To use the file-based scope 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:
    Scope Adapter Properties for File
    Property Value
    Scope Adapter com.tibco.asg.oauth.identity.provider.file.ScopeAdapterService
    Resource Path Name /examples/OAuth/resources
  7. Click Save to save changes.
  8. Set the properties for the scope adapter in the ASG_HOME\examples\OAuth\resources\scope.properties file.
    Note: The scope 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.scope.adapter.class=com.tibco.asg.oauth.identity.provider.file.ScopeAdapterService

    4. Save changes to the asg.properties file.