Specify a database for Genero SAML implementation

Follow these steps to specify an alternate database for your Genero SAML implementation.

The implementation of Genero SAML requires a database. By default, this database is SQLite and is completely functional within your out-of-the-box Genero Application Server installation. You can, however, use an alternate database.

  1. Create or use a new database on another machine.
  2. In the file DBase.4gl, modify the functions BDConnect() and DBDisconnect() to handle and customize the database connection. DBase.4gl is found in $FGLDIR/web_utilities/services/saml/src
  3. Modify fglprofile in $FGLDIR/web_utilities/services/saml/res to include the connection information for the database.
  4. Create SAML tables with the CreateDatabase.4gl program. The Genero Application Server must have modification rights to the SAML tables in the new database.
  5. (If needed), update database PATH or FGLLDPATH in $FGLDIR/web_utilities/services/SAMLServiceProvider.xcf , by setting the res.saml.db resource to the database libraries dependencies.
The alternate database is now used for the Genero SAML implementation.