GAS configuration for delegation

Delegate the start of an application to a REST service program.

Configure the application for Simple SSO provider

Modify your customization to delegate the execution of the application to a REST web service.

Add a DELEGATE element under the EXECUTION element in the customization file (xcf), with a reference to the SimpleSSOServiceProvider service:
<EXECUTION>
  <PATH>$(res.path)</PATH>
  <MODULE>myApp.42r</MODULE>
  <DELEGATE service="services/SimpleSSOServiceProvider">
  </DELEGATE>
</EXECUTION>

Configure the SSO service program

The name SimpleSSOServiceProvider maps to the SimpleSSOServiceProvider.xcf configuration file, located in $FGLDIR/web_utilities/services. This configuration file contains these execution settings:

<EXECUTION>
  <PATH>$(res.path.fgldir.services)/simplesso/bin</PATH>
  <MODULE>SSOService.42r</MODULE>
</EXECUTION>
In this example, the SSO service program is SSOService.42r, and the fglrun execution context in $FGLDIR/web_utilities/services/simplesso/bin.