This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Carbon Remote User Store Manager
Carbon Remote User Store Manager is a way of using a user store that is already configured in a WSO2 Carbon product.Â
Consider a scenario where two instances of the WSO2 Identity Server are configured. The first instance (IS1) has a ReadOnlyLDAPUserStoreManager
(configured on OpenLDAP) and the second instance (IS2) has JDBCUserStoreManager
configured on OracleDB. To expose the users in IS2 to IS1 through the UserStoreManager
API, you can call the UserStoreManager
admin service operations. WSO2 IS has a standard implementation which uses the admin services. The diagram below illustrates this scenario.Â
Configuring a carbon remote user store managerÂ
To configure a carbon remote user store manager, you can follow the following steps.Â
Make sure that the Admin Service WSDLs are exposed in IS2 (the remote server). To do this, set the
HideAdminServiceWSDLs
property tofalse
in theÂ[CARBON_HOME]/repository/conf/carbon.xml
 file as shown below.<HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
- Log in to the management console of the local server (IS1) and click User Stores>Add in the Main menu.Â
- Fill in the following values in the form as seen below. The image below shows a sample configuration.
- User Store Manager Class:Â Â org.wso2.carbon.identity.user.store.remote.CarbonRemoteUserstoreMangerÂ
- Domain Name:Â <desired_secondary_userstore_name>
- Remote Server Username:Â <remote_admin_login>
- Remote Server Password:Â <remote_admin_password>
Remote Server URL(s):Â https://<remote_sever_url>:<remote_server_port>/services
ÂMake sure that you insert the same credentials used to invoke the admin services in the remote server and the same remote services URL.Â
- Update other fields as required and click Add. You can use the same steps listed above to configure the remote user store as your secondary user store using admin services.Â