Adrian Mitev
Adrian Mitev

Reputation: 4752

WSO2 IS Multi-tenancy APIs

I'm currently investigating the multi-tenancy capabilities of WSO2 Identity Server. I have the following use case:

An application that provides a convenient user interface for tenant creation. When a tenant is created, the application have to create a tenant in WSO2 IS, application databases and other proprietary configuration. My questions are:

Upvotes: 2

Views: 961

Answers (2)

LukeT
LukeT

Reputation: 83

To manage tenants you can use also this WSDL:

https://{WSO2IS HOST}:{PORT}/services/TenantMgtAdminService?wsdl

Upvotes: 1

Asela
Asela

Reputation: 5821

Yes. You can use multi-tenant APIs with WSO2IS. All WSO2IS management function has been exposed as SOAP based web services (Normally refers as Admin Services).

To manage tenants (create/update) you can use TenantMgtService API, You can find the WSDL from here. You need to call this API as super tenant admin. You can refer this learn about Admin services.

https://{WSO2IS HOST}:{PORT}/services/TenantMgtService?wsdl

You can manage tenant specific users/roles. You can use RemoteUserStoreManagerService for this. Here, you want to use tenant specific credentials to call the API. Say, you are from foo.com tenant and you want to retrieve the users of foo.com tenant. Then you need to call the API by using tenant admin credentials. Simple java client for this API can be found from here

Yes, tenant can have their own user stores. Tenant can plug their user store using WSO2IS management console.

Upvotes: 4

Related Questions