This documentation is for WSO2 Identity Server 5.0.0. View documentation for the latest release.
Page Comparison - Writing a Custom User Store Manager (v.23 vs v.24) - Identity Server 5.0.0 - WSO2 Documentation

Versions Compared


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


  1. Copy the artifact of your project (custom-userstore.jar, in this case) to the <PRODUCT_HOME>/repository/components/dropins directory. Also copy all your OSGI bundles to this location. If you have any dependency .jar files in this location (for example, jasypt-1.9.2.jar). , copy them to the <PRODUCT_HOME>/repository/components/lib directory.
  2. Change the configuration of the WSO2 product to use our custom implementation for user store management. To do this, open the <PRODUCT_HOME>/repository/conf/user-mgt.xml file and change the UserStoreManager class.

    Code Block
    <UserStoreManager class="com.wso2.custom.usermgt.CustomUserStoreManager">

    You do not need to change anything else since you extend the JDBCUserStoreManager class, so the configurations will remain the same.


    Tip: This step provides instructions on configuring your custom user store manager as a primary user store. Alternatively, you can configure this as a secondary user store if you already have a different primary user store configured.