Users and Roles
User management is a mechanism which involves defining and managing users, roles and their access levels in a system. A typical user management implementation involves a wide range of functionality such as adding/deleting users, controlling user activity through permissions, managing user roles, defining authentication policies, resetting user passwords etc.
Please note the following before you begin:
Your product has a primary user store where the users/roles that you create using the management console are stored by default. It's defaultÂ
RegEx
 configurations are as follows.ÂRegEx
 configurations ensure that parameters like the length of a user name/password meet the requirements of the user store.PasswordJavaRegEx-------- ^[\S]{5,30}$ PasswordJavaScriptRegEx-- ^[\S]{5,30}$ UsernameJavaRegEx-------- ^~!#$;%*+={}\\{3,30}$ UsernameJavaScriptRegEx-- ^[\S]{3,30}$ RolenameJavaRegEx-------- ^~!#$;%*+={}\\{3,30}$ RolenameJavaScriptRegEx-- ^[\S]{3,30}$
When creating users/roles, if you enter a username, password etc. that does not conform to theÂ
RegEx
 configurations, the system throws an exception. You can either change theÂRegEx
 configuration or enter values that conform to theÂRegEx
. If you change the default user store, configure theÂRegEx
 accordingly under the user store manager configurations inÂ<IoTS_HOME>/conf/user-mgt.xml
 file.
Concepts
How-to guides
- Using Email Address as the Username
- Adding a User
- Inviting Users
- Removing a User
- Resetting a User Password
- Searching, Filtering and Sorting Users
- Updating User Details
- Viewing Users
- Adding a Role and Permissions
- Configuring Role Permissions
- Default Roles and Permissions
- Removing a Role
- Searching, Filtering and Sorting Roles
- Updating a Role
- Updating Role Permissions