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 startbegin, note the following:

  • The option of adding, modifying and removing user accounts and roles is only available for administrators with privileges. See Realm Configuration for details on how to set up administrators. 
  • The user stores, which will store the new users and roles that you create, should already be configured for your product. 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 of data creation. 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 productOnly system administrators can add, modify and remove users and roles. To set up administrators, see Realm Configuration
  • 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.

    Code Block
    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 or set up a secondary user store, configure the RegEx accordingly under the user store manager configurations in <SS_HOME>/repository/conf/user-mgt.xml file.

Excerpt
hiddentrue

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

See the following topics for details.

Child pages (Children Display)

...