Secondary Custom UserStore using JDBCUserStoreManagerin WSO IS 5.9

119 Views Asked by At

Need to create a secondary custom UserStore using JDBCUserStoreManager, I have a usertable with username and password as columns.

I need to configure the datasource, and then customer Userstore Manager class and using the username and password from the usertable I should be able to login to WSO2 IS 5.9

Thanks, Subhash

1

There are 1 best solutions below

1
Piraveena Paralogarajah On

You can follow this doc to write a custom userstore manager

  1. You have to extend JDBCUserStoreManager class and overide the methods.
  2. Then can build the source code and deploy the artifact into dropins folder as mentioned in thedoc.

When you are configuring the secondary userstore manager, you can point to the custom userstore manager. Please folow these two docs (doc1, doc2) to configure secondary userstores