Create a Shared Resource Properties File
TIBCO API Exchange Gateway uses a shared resource properties file to support the user authentication using a file resource. For example, the shared resource properties file defines a property which refers to an XML file containing the user credentials.
TIBCO API Exchange Gateway provides a sample properties file XmlAsp.properties for the shared resource. Use this file as a template and edit the properties, as required.
Sample Property File
The location of the shared resource property file for user authentication using the file resource is as follows:
ASG_CONFIG_HOME/BookQuerySecurity/security/resource/XmlAsp.properties
XmlAsp.properties
com.tibco.trinity.runtime.core.provider.lookup=com.tibco.trinity.runtime.core.provider.authn.xml # Location of the users, password, and group file. com.tibco.trinity.runtime.core.provider.authn.xml.fileLocation=XmlAspUsers.xml
Properties
The following table describes the properties for the user authentication using file resource.
Property | Description |
---|---|
com.tibco.trinity.runtime.core.provider.authn.xml.fileLocation |
|
Specifies the name of the XML file containing the credentials of the users required for authentication. The location of the XML file can be either a relative path or an absolute file path. The relative file path is relative to the
ASG_CONFIG_HOME/ASGProjectConfiguration/security/resource directory.
For example, XmlAspUsers.xml is found in the following directory: ASG_CONFIG_HOME/BookQuerySecurity/security/resource. See Create XML File for Credentials. |