The GAS is able to delegate the start of a web application or a web service to another
Genero REST service in order to perform some controls before granting access and starting the
application.
Configure delegation for application or service
To delegate the start of an application or service to a Genero REST service, specify a DELEGATE element in the EXECUTION component of your application or service.
From the user agent to the REST service
Each request of the form /ua/r, /ja/r and /ws/r coming from the user agent are delegated to the Genero REST service via its entry point.
From the REST service to the proxy
The delegation REST service must notify the dispatcher when it approves the start of an application or service.
REST service example
In this example, the REST service returns an HTTP error code 404 to the browser until the query string contains the string ByPass.
Delegation use cases
Three examples of possible uses for the delegation mechanism.