File-Based Scope Adapter
To use the file-based scope adapter, follow these steps:
Procedure
-
Log in to the Config UI using your credentials.
-
On the home page on the Config UI, select the
Gateway Engine Properties from the drop-down list.
-
Expand the
Gateway Engine Properties node.
-
Click the
tab.
-
Expand the
OAuth node.
-
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
|
-
Click
Save to save changes.
-
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:
- Navigate to the
ASG_CONFIG_HOME
directory.
- Edit the asg.properties file in a text editor.
- Set the following property:
tibco.clientVar.oauth.scope.adapter.class=com.tibco.asg.oauth.identity.provider.file.ScopeAdapterService
- Save changes to the asg.properties file.
Copyright © Cloud Software Group, Inc. All rights reserved.