首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用户没有更新集合/_system/治理/apimgt/applicationdata数据的授权

用户没有更新集合/_system/治理/apimgt/applicationdata数据的授权
EN

Stack Overflow用户
提问于 2016-05-10 10:09:27
回答 1查看 703关注 0票数 1

我想做的是:

1.带有wso2标识服务器5.1.0和wso2 API管理器1.10.0的SSO(已完成)

参考资料:https://docs.wso2.com/display/AM1100/Configuring+Single+Sign-on+with+SAML2

2.通过Facebook凭据登录wso2 API管理器1.10.0 (已完成)

参考资料:https://docs.wso2.com/display/IS510/How+To%3A+Login+to+the+Identity+Server+using+Facebook+Credentials

3.通过Facebook帐户登录API-M后,我想部署示例API (失败)。

API-M日志:

代码语言:javascript
复制
ERROR {org.wso2.carbon.governance.api.common.GovernanceArtifactManager} -  Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata. {org.wso2.carbon.governance.api.common.GovernanceArtifactManager}
org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.


ERROR GovernanceArtifactManager Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.
org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Error while performing registry transaction operation {org.wso2.carbon.apimgt.impl.UserAwareAPIProvider}
org.wso2.carbon.governance.api.exception.GovernanceException: Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.


ERROR UserAwareAPIProvider Error while performing registry transaction operation
org.wso2.carbon.governance.api.exception.GovernanceException: Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.


ERROR {JAGGERY.site.blocks.item-design.ajax.add:jag} -  org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API :CalculatorAPI (/publisher/modules/api/add.jag#107)

Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API :CalculatorAPI

Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error while performing registry transaction operation

Caused by: org.wso2.carbon.governance.api.exception.GovernanceException: Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.


ERROR add:jag org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API :CalculatorAPI (/publisher/modules/api/add.jag#107)

Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API :CalculatorAPI

Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error while performing registry transaction operation

Caused by: org.wso2.carbon.governance.api.exception.GovernanceException: Failed to add artifact: artifact id: 4258a2ab-ce6e-468d-9855-56ff70d20ad8. Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Unable to put resource Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add new resource. User sbyangtw@yahoo.com.tw does not have authorization to update the collection /_system/governance/apimgt/applicationdata.

我将角色每个人的权限设置为所有权限。

我尝试进入API并创建一个新的应用程序,它已经完成,但仍然不能将API部署到Publisher。

谢谢

汤姆

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-05-11 10:08:58

API管理器使用注册表侦听器对其自己的注册表路径授予权限。但是,当您创建一个用户和来自IS侧的角色时,侦听器将不会得到执行。因此,不会为该特定用户分配这些注册表路径所需的权限。有两个解决办法。

1您可以通过API管理器控制台创建用户和角色。

  1. 您可以在IS上安装API管理器特性。
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37135406

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档