|
|
|
|
|
|
|
|
|
|
- Overview
- The options of the User Groupware
- Implementing the User Groupware in your application
- Options of the "General" tab
- Type of groupware
- Start mode
- Options in the "Options" tab
- Groupware customization
- Security
- Automatic login in test mode
- Data file language
- Data file password
- "Data files" tab (Standard User Groupware)
- Type of database ("Automatic start" mode only)
- Type of authentication
- Options
- "OAuth" tab (Standard User Groupware)
- "Server" tab (User Groupware with authentication server)
- "Email" tab (User Groupware with authentication server)
User Groupware (WINDEV and WEBDEV): Options and settings
An application is often intended to be used by several users connected via a network. Similarly, a site is always intended to be used by several Web users. In most cases, different access levels must be defined according to the user or to the Web user. To manage these access levels in your WINDEV applications or WEBDEV websites, simply include the User Groupware. In just a few clicks, a standard application can be transformed into an application that manages several access levels. This feature can be easily implemented. The options of the User Groupware Implementing the User Groupware in your application To implement the User Groupware in your application or site: - On the "Project" tab, in the "Project" group, click "User Groupware".
- In the description window of the current project configuration, in the "User Groupware: Disabled" area, click "Change".
- In the window that appears, enable the User Groupware. You can configure the User Groupware for your application or site in the different tabs of this window. This configuration is presented in the following paragraphs.
- Validate. The User Groupware is integrated into your project.
- An administrator account will be created during the first execution of application or site under the "supervisor" name. Then, the corresponding password can be specified.
Options of the "General" tab The "General" tab allows you to enable or disable the User Groupware in the current project configuration. This tab includes the following options: - Type of groupware,
- Start mode
- User account.
Let's take a closer look at these options. Type of groupware There are various types of groupware: - Standard User Groupware: The User Groupware will be associated only to your application or website, and the rights will be defined from the application or website.
If this option is selected, two specific tabs are displayed: - the "Data files" tab, which allows you to specify the type of database and authentication used.
- the "OAuth" tab, which allows you to specify the connection services available to users.
- User Groupware with authentication server: This option allows you to integrate a User Groupware and manage rights via a server.
If this option is selected, two specific tabs are displayed: - the "Server" tab, which allows you to specify the characteristics of the authentication server, the user accounts and the URLs of the administration sites.
- the "Email" tab, which allows you to customize the messages to be sent to users (registration validation or password reset emails).
Required configuration for the User Groupware with authentication server:
There are two possible cases: - If you are using a PCSCloud platform, the required elements are installed by default on your platform.
Reminder: PCSCloud is a paid, turnkey solution. For more details, see PCSCloud. - If you are not using a PCSCloud platform, you will need to install the following elements:
- an HFSQL server,
- the reserved server, including the modules of the User Groupware for mobile applications.
For more details, see Installing BaaS solutions.
Start mode Several start modes are available: - The "Automatic start" option indicates that the User Groupware is started at the same time as the application or site.
The login window or page of the User Groupware is displayed before any other window/page of the application. The project initialization code is run when the login window/page is opened and validated. - The "Manual start (programmatically)" option allows you to define when the User Groupware should be started.
The login window or page will only be opened if gpwOpen (or gpwLogin) is used. This option is used to run the project initialization code before opening the login window/page. This option is useful for a multilingual application. A window or a page can be displayed to prompt the user to choose the application language.  The "Manual start via a control template" option is used to integrate the User Groupware login page in the site. This allows you to work with the automatic User Groupware (and to benefit from its updates) while being able to customize the login page. If this option is selected, the WDGPU_WB_CNX internal component is added to your project. This component includes the "TPLC_GPU_Connection" control template that manages the connection. To add this control template, simply drag and drop it onto the desired pages (or templates). Once it has been added, you can customize it: - by overloading the controls and/or the processes for small changes,
- by directly modifying the control template for more important changes.
Options in the "Options" tab Security The security options are as follows: - Allow opening windows and reports by default: This option allows all users to open windows and reports by default. In this case, simply specify which elements will not be accessible when configuring the rights.
Allow editing reports and queries in Reports and Queries: If this option is checked, the application will use Reports and Queries for all the reports and queries. Note: This option is equivalent to "Enable 'Reports and Queries'", in the "Advanced" tab of the project description.
Automatic login in test mode Specify the login and password that will be used in automated test mode. This information will be used if an automated test is run on the application. Data file language By default, data files specific to the User Groupware are in English, but you can use data files in French. Data file password By default, User Groupware data files have a specific password. This password is: "PCSGPW2001". To change this password, enter the new password. The characters typed are hidden. Remarks: - The new password is taken into account only if it is changed before the User Groupware data files are created.
- This password is used to reindex or open data files with WDMAP.
"Data files" tab (Standard User Groupware) Type of database ("Automatic start" mode only) The User Groupware handles data files used to identify the users and to define their rights. These data files can be: - in HFSQL Classic format (by default). The data file directory must be specified.
- in HFSQL Client/Server format. The characteristics of the connection to the HFSQL server must be specified as well as the directory of the different categories of files.
Important: The location information only applies in "Automatic start" mode. If you chose the "Manual start (programmatically)" mode for the groupware, call gpwOpen and gpwOpenConnection. Type of authentication There are different types of authentication: - Authentication entirely managed by the User Groupware.
- Authentication from an LDAP directory or Active Directory.
This option avoids duplicating usernames and passwords by using the users from the LDAP directory. In this case, the connection characteristics must be specified (see below). Use of Windows authentication. This option requires you to create the users in the User Groupware database. Only the supervisor (supervisor password) is created by default. During the first execution, you must: - log in as supervisor.
- create users that exist in Windows.
Note: There is no need to specify a password for these users. Their Windows password will be verified for their authentication.
For an authentication from an LDAP directory or an Active Directory, you must configure the characteristics of the LDAP server used for tests (and at runtime). The requested information is: - Server address
- Server port number.
- Version of the contacted LDAP server.
- Database
In the code, simply use gpwOpenLDAPSession. Remarks: - The User Groupware works with Active Directory. It does not work with openLDAP.
- When the server port corresponds to port 636, the connection is automatically made in "Negociate" mode.
Options There are several options depending on the type of authentication chosen: - Login window only (no management of rights): This option is only available for LDAP and Windows authentication.
In this case, no groupware file will be created. If the application is started in automatic mode, the user will need to log in. If the user is registered in the LDAP directory or in Windows, the application will start; otherwise, it will close. A supervisor cannot configure the rights on windows or pages. If this option is not checked, authentication will take into account user rights. Only users listed in the LDAP directory will be able to log in. Rights can be configured on windows or pages. Single sign-on (SSO): This option allows users to sign in once (to the first application run). Other applications using the User Groupware will not require an additional login process. If Windows authentication is used with this option, users will log in automatically. In this case, to configure the Groupware, the Windows session must have been started a supervisor account.
"OAuth" tab (Standard User Groupware) In the "Standard" User Groupware, 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). "Server" tab (User Groupware with authentication server) The "Server" tab allows you to define all the options necessary to manage rights from a specific site: - In "GPU application server (web service and administration site)", specify the server to use. In the case of a new server, select the type of server:
- PCSCloud platform. In this case, specify the characteristics of your PCSCloud platform.
Reminder: This option allows you to use a web server, a dedicated server and an HFSQL Client/Server engine already installed and configured. - Network or Internet server with the protocol used. Enter the server name, user and password. This information was provided to you during the setup of the server reserved for the User Groupware/Private Store.
- Specify the type of user accounts managed:
- Accounts shared between applications: This option allows you to deploy the application with other applications that will be accessible to the same users. This option is recommended for deployments in different companies.
- Application-specific accounts: This option stores the application with its user database.
This option is recommended for deploying applications on a store.
- The administration site URLs are automatically filled in with the information previously specified.
Note: The specified URLs will only work once the changes in the User Groupware settings window have been confirmed. Upon validation, the modules installed with the reserved application server are automatically configured.
"Email" tab (User Groupware with authentication server) The "Email" tab allows you to configure email customization options: - Registration validation: If necessary, customize the messages sent to newly registered users.
- Forgot password: If necessary, customize the messages sent to users who forget their password.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|