简体   繁体   English

多租户中的Identity Server服务

[英]Identity Server services in multi-tenant

I'm a bit confused on how to access the soap services in Identity Server, for tenant-specific data. 对于如何访问Identity Server中针对特定租户的数据的肥皂服务,我有些困惑。

It seems some services like the STS and EntitlementService need to be accessed by including the tenant domain in the URL and can be called with the super-tenant admin credentials, ie: 似乎需要通过在URL中包括租户域来访问诸如STS和EntitlementService之类的某些服务,并且可以使用超级租户管理员凭据来调用它们,即:

https://localhost:9443/services/t/{tenant-domain}/services/EntitlementService.EntitlementServiceHttpsSoap12Endpoint

Whereas some services return the same data regardless of the URL, but return tenant-specific data only when accessed using the tenant-admin credentials, ie: 某些服务不考虑URL而返回相同的数据,但是仅当使用tenant-admin凭据访问时才返回特定于租户的数据,即:

https://localhost:9443/services/UserProfileMgtService.UserProfileMgtServiceHttpsSoap12Endpoint

Using this url alone, https://localhost:9443/t/{tenant-domain}/services/UserProfileMgtService.UserProfileMgtServiceHttpsSoap12Endpoint does not scope to the tenant. 仅使用此URL, https://localhost:9443/t/{tenant-domain}/services/UserProfileMgtService.UserProfileMgtServiceHttpsSoap12Endpoint不适用于租户。 This one requires the tenant-admin credentials, and does not seem to take the URL into account. 这需要租户管理员凭据,并且似乎没有考虑URL。

Is my understanding correct, and what is the intended way of accessing these services in multi-tenant mode? 我的理解正确吗?在多租户模式下访问这些服务的预期方式是什么?

Thanks 谢谢

There are admin services (UserProfileMgtService) and hosted services (wso2carbon-sts) in carbon product. Carbon产品中有管理服务(UserProfileMgtService)和托管服务(wso2carbon-sts)。

Those admin services are tenant aware and you need to authenticate using tenant user credentials. 这些管理服务支持租户,您需要使用租户用户凭据进行身份验证。 (EntitlementService also and admin service which works with tenant user credentials without tenant details in URL) (EntitlementService以及与租户用户凭据一起使用的管理服务,URL中没有租户详细信息)

Hosted services may have different configurations relevant to each tenants and u need to access via tenant details in URI 托管服务可能具有与每个租户相关的不同配置,并且您需要通过URI中的租户详细信息进行访问

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM