简体   繁体   English

Wso2身份服务器Soap远程用户存储管理管理员服务引发访问被拒绝错误

[英]Wso2 Identity server Soap Remote user store management admin service throws access denied error

I have setup wso2 identity server with default h2 database configuration. 我已使用默认的h2数据库配置安装了wso2身份服务器。 when i tired to access its RemoteUserStoreManagerService.getTenantIdofUser() soap admin service with super tentant admin credentials 'admin/admin', its throws 'access denied' error.I found that error is raised because of 'super tenant' id is not set to zero(0). 当我厌倦了使用超级租户管理员凭据``admin / admin''访问其RemoteUserStoreManagerService.getTenantIdofUser()肥皂管理服务时,它抛出了``拒绝访问''错误。我发现由于未设置``超级租户''ID而引发错误零(0)。 it has been set as '-1234' at backend. 在后端将其设置为“ -1234”。 Kindly help in resolving this issue. 请帮助解决此问题。

As i know, getTenantIdofUser is a depreciated in WSO2 and it will not work properly. 据我所知, getTenantIdofUser在WSO2中已贬值,它将无法正常工作。 Theoretically, you can not retrieve the tenant id by providing the username. 从理论上讲,您无法通过提供用户名来检索租户ID。 Because username is unique across tenants. 因为用户名在租户之间是唯一的。 There can be same username in two different tenant. 两个不同的租户中可以有相同的用户名。 As you mentioned, there is some issue in the code as well. 如您所述,代码中也存在一些问题。 Super tenant id must be -1234 . 超级租户ID必须为-1234 However fixing this issue, would not provide successful response from the getTenantIdofUser as it is already depreciated. 但是,解决此问题后,由于getTenantIdofUser已被折旧,因此无法提供成功的响应。

暂无
暂无

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

相关问题 错误:在 WSO2 身份服务器 5.10.0 中添加外部数据库作为主要用户存储时出现“用户管理员不存在” - ERROR: “User admin does not exist” while adding external database as primary user store in WSO2 identity server 5.10.0 WSO2 身份服务器与 APIM 连接,用于用户管理 - WSO2 Identity Server connectivity with APIM for User Management 在WSO2 Identity Server上调用用户管理服务 - calling user management services on WSO2 Identity Server WSO2 身份服务器 5.10.0 - 创建现有用户时,IS 管理控制台中未显示错误消息 - WSO2 Identity Server 5.10.0 - Error message not shown in IS Management Console while creating already existing User WSO2 Identity Server-如何以租户管理员身份更改用户密码 - WSO2 Identity Server - How to Change User Password As a Tenant Admin WSO2身份服务器-PEP的权利-错误:Web服务登录时无效的远程地址 - WSO2 Identity Server - Entitlement for PEP - Error: Invalid Remote Address at Web Service Login Active Directory和WSO2 Identity Server辅助用户存储的问题 - Problems with Active Directory and WSO2 Identity Server Secondary User Store 在WSO2 Identity Server群集中复制辅助用户存储配置 - Replicate Secondary user store configuration in WSO2 Identity Server cluster WSO2 API Manager使用Identity Server存储访问 - WSO2 API Manager Store access with Identity Server Azure中的WSO2身份服务器和WSO2 API管理 - WSO2 Identity Server and WSO2 API Management in Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM