Follow these steps to add SAML SSO to a Genero Web application.
Complete this procedure to add SAML SSO to a Genero Web
application.
- Add <DELEGATE service="services/SAMLServiceProvider"/> to
the application configuration (xcf)
file.
<?xml version="1.0"?>
<APPLICATION Parent="defaultgwc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/2.50/cfextwa.xsd">
<EXECUTION>
<PATH>$(res.path.qa)/applications/myapp</PATH>
<MODULE>App.42r</MODULE>
<DELEGATE service="services/SAMLServiceProvider"/>
</EXECUTION>
</APPLICATION>
- To retrieve the SAML ID returned by the SAML IDP in your
Genero application, add this code:
LET id = fgl_getenv("SAML_ID")
The Genero Application Server will handle the SAML protocol
and start the Genero web application only when the user has
been authenticated, otherwise an HTML error page is returned.