WEBDEV Concepts
130 Part 4: Advanced concepts Type of authentication The standard User Groupware includes several user authentication modes: • Authentication entirely managed by the User Groupware : The username and password are saved in the User Groupware data files. • Authentication from an LDAP directory or Active Directory : If the company of your customer uses an LDAP directory, you can enable the User Groupware on this directory. Simply click the link "Click here to enter the server parameters" to specify the characteristics of the LDAP directory (server, port, base DN, etc.). Therefore, the account and the password in the LDAP directory will be automatically requested to the user. In this mode, an additional option is available: Login window only (no management of rights) . • If this option is checked, no groupware data file will be created. If the application is started in automatic mode, the user will need to log in. If the user is saved in the LDAP directory, the application will start; otherwise, it will be closed. A supervisor cannot configure the rights on the windows. • If this option is not checked, only the users in the LDAP directory will be able to log in. You can set the rights on the windows. For more details, see the online help. The "OAuth" tab allows you to authorize the use of a specific connection service. For the specified service, it is necessary to specify the corresponding identifiers (provided when registering the application with the selected service). 3.4 Options specific to the BaaS User Groupware When using a BaaS User Groupware, the "BaaS" and "Email" tabs allow defining specific options. The "BaaS" tab allows you to define: • the location of the User Groupware application server. You can select a PCSCloud platform or a Network or Internet server, • the user account management mode, • the URLs of the administration sites. The "Email" tab allows you to write the messages for registration confirmation or password recovery. 3.5 Testing the site (Standard User Groupware) When a site that uses the standard User Groupware is tested, the first page that appears is the login page (regardless of the first page defined in your site). A single user is created by default: the supervisor. To log in as supervisor, simply enter the following information in the login page: • Name: SUPERVISOR • Password: SUPERVISOR You can test your site, or configure the User Groupware. Remarks : • To set a first page other than the login page in your site, select "Manual start (programmatically)" in the "General" tab of the User Groupware options. Simply use gpwOpen to open the login page. • The User Groupware management pages are executed before the project initialization code. • The first page of your site defined in the project will be started after the login page (when the user is not the supervisor). • To avoid starting the User Groupware when testing the site , select "Disabled" in the "General" tab of the User Groupware options. If you re-enable the User Groupware again, the data files previously used by the User Groupware will not be deleted.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==