...
- Only system administrators or other users with Security level permissions can add, modify and remove users and roles. See the related topics for details on permissions.
Your product has a primary user store where the users/roles that you create using the management console are stored by default. The default
RegEx
configurations for this user store 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 theRegEx
configuration or enter values that conform to theRegEx
. If you change the default user store or set up a secondary user store, configure theRegEx
accordingly under the user store manager configurations in<PRODUCT_HOME>/repository/conf/user-mgt.xml
file.The permission model of WSO2 products is hierarchical. Permissions can be assigned to a role in a fine-grained or a coarse-grained manner.