Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,46 @@

Consider a scenario where two instances of the WSO2 Identity Server are
configured. The first instance (IS1) has a
` ReadOnlyLDAPUserStoreManager ` (configured on OpenLDAP)
`ReadOnlyLDAPUserStoreManager` (configured on OpenLDAP)
and the second instance (IS2) has
` JDBCUserStoreManager ` configured on OracleDB. To
`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
`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.

![Carbon remote user store manager scenario](../assets/img/using-wso2-identity-server/carbon-remote-user-store-manager.png)

### Configuring a carbon remote user store manager
## Configuring a carbon remote user store manager

To configure a carbon remote user store manager, you can follow the
following steps.

1. Log in to the management console of the the local server (IS1) and
1. Log in to the management console of the local server (IS1) and
click **User Stores \-> Add** in the **Main** menu.

2. Fill in the following values in the form as seen below. The image
2. Fill in the following values in the form as seen below. The image
below shows a sample configuration.
- **User Store Manager Class:**

- **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`
- **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`

!!! note
!!! note
Make sure that you insert the same credentials used to invoke the admin services in the remote server and the same remote services URL.


![Add new user store](../assets/img/using-wso2-identity-server/add-new-user-store.png)
![Add new user store](../assets/img/using-wso2-identity-server/add-new-user-store.png)

3. Update other fields as required (description is give for each
3. Update other fields as required (description is give for each
property) and click **Add**.

4. Import the public certificate of the remote WSO2 Identity Server
4. Import the public certificate of the remote WSO2 Identity Server

Check warning on line 46 in en/identity-server/5.10.0/docs/develop/carbon-remote-user-store-manager.md

View workflow job for this annotation

GitHub Actions / Vale style check

[vale] reported by reviewdog 🐶 Try to keep sentences short (< 30 words). Raw Output: {"message":"Try to keep sentences short (< 30 words).","location":{"path":"en/identity-server/5.10.0/docs/develop/carbon-remote-user-store-manager.md","range":{"start":{"line":46,"column":4},"end":{"line":46,"column":10}}},"severity":"INFO","code":{"value":"WSO2-IAM.SentenceLength"}}
(IS2) to the primary WSO2 Identity Server's (IS1) truststore
(`client-truststore.jks`) that is in the
`<IS_HOME>/repository/resources/security` directory and restart WSO2
Identity Server.
Identity Server.
Loading