Versions Compared

Key

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

To enable users to log into the IS Management Console, you create user accounts and assign them roles, which are sets of permissions. You can add individual users or import users in bulk. The following sections list out the various ways to configure your users.

...

Info

Note the following before you use this feature: 

  • If the option to import users in bulk is not enabled in your product by default, you can enable it by adding the following property to the JDBC user store configured in the user-mgt.xml file (stored in the <PRODUCT_HOME>/repository/conf directory). Please see the User Store management section for more information.

    Code Block
    <Property name="IsBulkImportSupported">true</Property>
  • It is recommended to upload a maximum of 500,000 users at a time. If you need to upload more users, you can upload them in separate batches of 500,000 each.
  • You can also specify the size of the file that you can upload to the product in the <PRODUCT_HOME>/repository/conf/carbon.xml file using the TotalFileSizeLimit element as shown below. This value is in MB.

    Code Block
    <TotalFileSizeLimit>100</TotalFileSizeLimit>

...

  1. Edit the <IS_HOME>/repository/conf/identity/identity.xml file, and set enable to true in the following event listener:

    Code Block
    <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
                          name="org.wso2.carbon.user.mgt.listeners.UserDeletionEventListener"
                          orderId="98" enable="false"/>
    </EventListeners>
  2. Edit the <IS_HOME>/repository/conf/identity/identity.xml file, and set enable to true in the following event recorder:

    Code Block
    <UserDeleteEventRecorders>
           <UserDeleteEventRecorder name="org.wso2.carbon.user.mgt.recorder.DefaultUserDeletionEventRecorder" enable="false">
           </UserDeleteEventRecorder>
    </UserDeleteEventRecorders>

    This logs writes details related to user deletion in the CSV format to the <IS_HOME>/repository/logs/delete-event.log file in CSV format

    Info
    titleNote

    If necessary you can write user delete event details to a custom CSV file that you specify. To do this, add the following property within the <UserDeleteEventRecorder> element in the <IS_HOME>/repository/conf/identity/identity.xml file, and be sure to specify the custom CSV file path.

    Code Block
    <Property name="path">${carbon.home}/repository/logs/delete-records.csv</Property>

...