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.
- Create or use a new database on another machine.
- In the file server.4gl, modify the
functions BDConnect() and DBDisconnect() to
handle and customize the database connection.
- Modify the FGLPROFILE file in $FGLDIR/web_utilities/services/openid/res to
include the connection information for the database.
- Create OpenID tables with the CreateDatabase.4gl program.
The Genero Application Server must have modification rights
to the OpenID tables in the new database.
- (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.