User registering function configuration |
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.
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:
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:
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.
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:
Note:
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.
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.