Table of contents

Official Content

The GAM Web Front-end examples are imported into the Knowledge Base when Enable Integrated Security property = True.

"gamexamplelogin" is the sample object which allows the user to log in, and is executed automatically when there is no valid session.

Executing the gamexamplelogin object from my application

When you execute the gamexamplelogin for the first time, you have to take some aspects into consideration:

      1. Initial Execution

If you execute this object (or the gamhome object, which will redirect to the gamexamplelogin if you are not logged in), you will be asked to configure a Home Object for your application.

      2. Login Process

First, you will be asked to enter your credentials in gamexamplelogin:

GAM Login v18

       3. Home Object Configuration

Then, the gamhome object is executed, where you are asked to enter the Home Object:

Welcome to GAM v18

Purpose of Configuring a Home Object

The purpose of configuring a Home object is to set, in the GAM database, what the object to return when there isn't any caller of the gamexamplelogin. Basically, if A is executed and needs authentication, the execution flow returns to A after a successful login. But if the gamexamplelogin has no object to redirect, a Home Object is needed to end the execution flow.

See Also

GAM - Web Backoffice


Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant