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
-
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:
Owner Adapter Properties for File
Property
|
Value
|
Owner Adapter
|
com.tibco.asg.oauth.identity.provider.file.OwnerAdapterService
|
Resource Path Name
|
/examples/OAuth/resources
|
-
Click
Save to save changes.
-
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:
- Navigate to the
ASG_CONFIG_HOME
directory.
- Edit the asg.properties file in a text editor.
- Set the following property:
tibco.clientVar.oauth.owner.adapter.class=com.tibco.asg.oauth.
identity.provider.file.OwnerAdapterService
- Save changes to the asg.properties file.
Copyright © Cloud Software Group, Inc. All rights reserved.