![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
− Configure the Apache HTTP server for one-way SSL. See Configuring One-Way SSL Authentication. If you use the HTTP transport, do not set up the SSL configuration on Apache HTTP server.
−
−
2.
3. Edit the mod_ASG.conf file.
7.
2. Navigate to APACHE_HOME.
3. Create a htpasswd subdirectory to store the password file. Create a blank htpasswords file, if not already there in this directory.
4.
5. Create a partner identity using the Apache htpasswd utility for the user asgpartner01 with password asgpartner01, shown as follows:htpasswd APACHE_HOME\htpasswd\htpasswords asgpartner01
6. Create a second partner identity using the Apache htpasswd utility for the user asgpartner02 with password asgpartner02, shown as follows:htpasswd APACHE_HOME\htpasswd\htpasswords asgpartner02
2.
2.
In this example, the client side HTTP URL contains "/asg/ba/" string in the endpoint URL to access the server running the Core Engine.For example, refer to BookQuery project shipped with TIBCO API Exchange Gateway at the ASG_HOME/examples/BookQuery/BookQuery location as follows:
1.
2. Navigate to BookQuery > Client process.
3. Double-click QueryByTitleClient to open the process.
4.
5. Click Transport Details tab. To use the basic authentication, change the endpoint URL as follows:
−
− To: http://127.0.0.1:9696/asg/ba/ServerProcesses/GetBooksByTitleEndpointTask B Create an Identity ResourceYou must create an identity as set on the Apache HTTP server configuration. See Create a Password File for the Apache HTTP Server.For example, you can create an identity as follows for the BookQuery project:
1. Select Client Process node.
2. Go to Resources > Add Resources > General > Identity.
− Name: a string value (For example, MyIdentity)
− Type: select Username/Password from the drop-down list.
− Username: username (username must match the username created at the Apache server. For example, asgpartner01. See Create a Password File for the Apache HTTP Server.
− Password: password (password must match the password created at the Apache server. For example, asgpartner01. See Create a Password File for the Apache HTTP Server).
1. Double-click QueryByTitleClient to open the process.
2.
3. Click Transport Details tab.
a.
b. Set the Identity field as follows:
−
− Click OK to select the identity resource.
c. Click Apply to save the changes.Task A Start Config UISee Starting GUI to launch the Config UI.Task B Add a New facade Operation
2. Click the ROUTING > Facade Operations tab.
4. The Operation URI field contains "/asg/ba/" string in the endpoint as follows for the facade operation:For example, /asg/ba/ServerProcesses/GetBooksByTitleEndpointNote that the client uses the "/asg/ba" in the transport URL to send the request to the Core Engine.Task C Add a New Partner GroupTask D Add a New Partner
• See Create an Identity Resource for the username. The partner name must match the username of the identity resource.Task E Add a New Partner GroupTask F Add a New Facade AccessYou must add a new facade access to authorize the asgpartner01 partner to access the operation configured for basic authentication.Task G Add RoutingYou must add the routing data for the partner and operation created in Add a New Partner and Add a New facade Operation sections so that the Core Engine can route the facade request to the appropriate target operation. See Routing.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |