如何在WSO2 Identity Server中远程添加租户?

尼普林·多希(Nipurn Doshi)

我是WSO2 Identity Server的新手,并且正在使用UserStoreManager中的API。我想让超级管理员能够远程添加租户,但似乎找不到addTenant API。另外,我想使一个租户的管理员/用户被添加为另一租户的管理员/用户,而不是每次都创建新的用户名。我不知道该怎么做。进行此操作的正确方法是什么?TIA!

Sumedha Kodithuwakku

对于您的第一个要求,您可以使用Web Service中registerTenant方法TenantMgtService

开箱即用不支持第二个要求。可以通过在LDAP中具有统一的用户结构来实现。固定用户结构如下。租户的所有用户都将在一个名为“用户”的OU中。租户OU将仅具有组(就Carbon Server而言,这是角色)

dc=WSO2,dc=ORG
|--OU=Users
|  |--admin
|  |--user1
|  |--user2
|  |...    
|--OU=Groups
|--OU=tenantone.org
|  |--OU=Groups
|  |  |...
| ... 
|  
|  

对于上述内容,您将必须编写自己的租户管理器Realm Configuration Bulder用户存储管理器

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何在Docker中为WSO2 Identity Server指定SSL证书?

WSO2 Identity Server的用户和租户

wso2 Identity Server-无法删除租户

WSO2 Identity Server升级

如何自定义所有WSO2 Identity Server登录相关页面

如何配置 WSO2 API Manager 2.1.0 以使用 Identity Server 5.4.1

wso2 Identity Server 5.7.0 Service Provider 如何设置用户角色?

如何使用Identity Server登录WSO2解决方案

使用WSO2 Identity Server 5.1进行单点登录

使用WSO2 Identity Server的SAML2.0 SSO?

使用Spring Security + WSO2 Identity Server的OAuth 2.0

WSO2 Identity Server中的SAML请求-响应处理

WSO2 API Manager使用Identity Server存储访问

基于SAML / XACML的WSO2 Identity Server访问控制

集成bonita和wso2 Identity Server

用于会话管理的 WSO2 Identity Server 5.0.0 Api

使用WSO2 Identity Server和WSO2 API Manager保护后端

如何配置WSO2 Identity Server从第二个用户存储中添加声明

如何在wso2 ESB中添加wso2 Application Server的功能?

WSO2 Identity Server 5.9.0 oAuth2配置类型

WSO2 Identity Server与ADFS Server集成时抛出NullpointerException

WSO2 Identity Server用户身份验证的HTTP请求

WSO2 Identity Server在用户存储,策略管理等中看不到选项

为WSO2 Identity Server部署自定义密码策略文件

使用WSO2 Identity Server管理外部自定义权限吗?

有什么方法可以在WSO2 Identity Server中加密用户名?

WSO2 Identity Server未返回带有OAuth / OpenID的请求的声明

WSO2 Identity Server将用户设置为“非活动”

WSO2 Identity Server中的SCIM服务提供商