Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This documentation explains how you can create user accounts and roles to define access to the management console of your product. Before you start, note the following:

  • The option of adding, modifying and removing user accounts and roles is only available for administrators with privileges. See Realm ConfigurationRead about realm configurations for details on how to set up administrators. 
  • The user stores of your product should already be set up and configured, so that the new users and roles you create using the management console can be saved in them. Read about configuring primary user stores and configuring secondary user stores for more details. 
    For example, the user name and password that you define for a new user will be validated against the 'RegEx' configurations of the user store at the time the user/role is created. This validation ensures that details such as the length of password, user name, role name etc. conform to the requirements of the user store. Shown below is the default 'RegEx' configuration for the primary user store in your product.

    Code Block
    PasswordJavaRegEx-------- ^[\S]{5,30}$
    PasswordJavaScriptRegEx-- ^[\S]{5,30}$
    UsernameJavaRegEx-------- ^~!#$;%*+={}\\{3,30}$
    UsernameJavaScriptRegEx-- ^[\S]{3,30}$
    RolenameJavaRegEx-------- ^~!#$;%*+={}\\{3,30}$
    RolenameJavaScriptRegEx-- ^[\S]{3,30}$
    Excerpt
    hiddentrue

     The description given above is added to answer the following FAQ:/wiki/spaces/FAQ/pages/37781592.

...

Info

This is only supported if you have configured your user store as JDBCUserStoreManager. See here for information on how to do this. 

  1. On the Users screen, click Bulk Import Users.
  2. Browse and select the file that contains the user data. 
  3. Specify a default password to assign to all the users you are importing and click Finish. This password is valid for only 24 hours, so you should inform your users that they must log in and change their password within 24 hours.

...