Specify a database for Genero OpenID implementation

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

The implementation of Genero OpenID 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 server.4gl, modify the functions BDConnect() and DBDisconnect() to handle and customize the database connection.
  3. Modify the FGLPROFILE file in $FGLDIR/web_utilities/services/openid/res to include the connection information for the database.
  4. Create OpenID tables with the CreateDatabase.4gl program. The Genero Application Server must have modification rights to the OpenID tables in the new database.
  5. (If needed), update database PATH or FGLLDPATH in $FGLDIR/web_utilities/services/OpenIDServiceProvider.xcf , by setting the res.openid.db resource to the database libraries dependencies.
The alternate database is now used for the Genero OpenID implementation.