Before you begin, note the following:
- Only 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 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<APIM_HOME>/repository/conf/user-mgt.xml
file.
Excerpt | ||
---|---|---|
| ||
The description given above is added to answer the following FAQ:/wiki/spaces/FAQ/pages/37781592. |
Go to the relevant topic listed below for details:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Info |
---|
This is only supported if you have configured your user store as JDBCUserStoreManager. See here for information on how to do this. |
- On the Users screen, click Bulk Import Users.
- Browse and select the file that contains the user data.
- 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.
...