User registering function configuration

Feedback


SuperMap iPortal provides the function of user registration management to secure the portal system. The administrator can enable/disable the user registration function, set the default role for registered users, and expand user registration fields in the configuration file according to business needs.

Enable/disable user registration function

User registration function is enabled by default, that is, all users can click the  "Register" button on the portal homepage to directly register as iPortal users. If your portal intends to use an enterprise account or if you want the portal administrator to create all  accounts , then the administrator can disable the user registration function. If so, the "Register" button will not appear on the iPortal homepage, that is, other users will not be able to register as iPortal users. Only the administrator can add, edit, and delete iPortal users.

You can enable or disable the user registration function in the following two ways:

  1. Log on to "Home Page"> "Management" >"Site Configuration" >"Register Management" as an administrator, select whether to enable the user registration function, and click the "Save" button.
  2. In the  iportal.xml configuration file under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF folder, the <registerSetting> sub-node can be used to enable or disable the registration function. For details, please refer to iPortal configuration introduction.

Set the default role for registered users

SuperMap iPortal supports setting the default role for newly registered users. By default, the PORTAL_USER role is assigned to all newly registered users. Of course, you can also set the default role as PORTAL_VIEWER, that is, assign PORTAL_VIEWER to all newly registered users. The specific settings are as follows:

  1. Login to the portal homepage as an administrator, enter the register management page from "Management" >"Site Configuration" >"Register Management" .
  2. "Default role of registered user": PORTAL_USER is selected by default and you can also set to PORTAL_VIEWER.
  3. Click the "save" button to take effect.

If you want to change the role associated with the registered user, you can change it on the "Users Management" page.

If you want to understand the difference between PORTAL_VIEWER and PORTAL_USER, please refer to Differences and Relations between PORTAL_VIEWER and PORTAL_USER.

Set whether to assign DATA_CENTER role to registered users by default

SuperMap iPortal supports setting whether to assign DATA_CENTER role to the newly registered users. By default, DATA_CENTER role will be assigned to all newly registered users. Of course, you can set not to assign the DATA_CENTER role to newly registered users. The specific settings are as follows:

  1. Login to the portal homepage as an administrator, enter the register management page from "Management" >"Site Configuration" >"Register Management" .
  2. "DATA_CENTER role of registered user": "Yes" by default. If set to "No", the DATA_CENTER role will not be assigned.
  3. Click the "Save" button to take effect.

Note:

  1. If the newly assigned user is assigned with the PORTAL_VIEWER role, the  DATA_CENTER role will not be assigned to it by default.
  2. If you want to change the role associated with the registered user, you can change it on the "Users Management" page. For more information about iPortal roles, please refer to Role Management.

Configure extension fields for user registration

During user registration, the default basic information that needs to be input includes: account, nickname, password, security questions, etc. The administrator can configure extension fields, and can also configure whether the extension field is required or optional. Currently, the supported extension field includes "department", "mailbox".

In the iportal.xml configuration file under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF) folder, the administrator can set the extension fields for user registration through the <field> sub-node under the <registerSetting>. For details, please refer to: iPortal configuration introduction.

Configure username blacklist

SuperMap iPortal supports configuring username blacklist, such as "test","tester","iPortal",etc. The username in the blacklist cannot be used when registering or adding new users.

In the iportal.xml configuration file under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF) folder, the administrator can configure username blacklist through the <reservedUserNames> sub-node under the <registerSetting>. For details, please refer to: iPortal configuration introduction.