wso2-am

Unable to create fixed remote mounts in WSO2 API Manager 2.5.0

℡╲_俬逩灬. 提交于 2019-12-24 22:14:50
问题 I am following this link while configure wso2IS-5.6.0 with wso2AM-2.5.0. While registry share am getting this error. ERROR - RegistryCoreServiceComponent Unable to create fixed remote mounts. org.wso2.carbon.registry.core.exceptions.RegistryException: An exception occurred while executing handler chain. null at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2649) at org.wso2.carbon.registry.core.jdbc.handlers.UserDefinedHandlerManager.delete

Non authenticated API in WSO API Manager 1.9?

ε祈祈猫儿з 提交于 2019-12-24 17:19:10
问题 I am using WSO2 API Manager 1.9 version .I created many APIs and all working fine.As per the requirement now i need a non authenticated API.How to create in API manger ,any suggestion ? 回答1: When you create an API, in the Manage tap, you can select No Authentication for an API resource, as shown below. 来源: https://stackoverflow.com/questions/31283499/non-authenticated-api-in-wso-api-manager-1-9

Non authenticated API in WSO API Manager 1.9?

一个人想着一个人 提交于 2019-12-24 17:18:12
问题 I am using WSO2 API Manager 1.9 version .I created many APIs and all working fine.As per the requirement now i need a non authenticated API.How to create in API manger ,any suggestion ? 回答1: When you create an API, in the Manage tap, you can select No Authentication for an API resource, as shown below. 来源: https://stackoverflow.com/questions/31283499/non-authenticated-api-in-wso-api-manager-1-9

How to pass authorization header in WSO2 OAuth2 and its backend API server Oauth2?

拜拜、爱过 提交于 2019-12-24 15:29:31
问题 Both of the WSO2 API manager and its backend API server(on Azure) are using OAuth2. They all use the same header as follow: WSO2 API manager Authorization: Bearer 72135e9f1dc96201949351261284dc7 API server Authorization: Bearer MfGb9pnTEGVWmDyjlfSZjlxhc8pFtef I use Rest client to do the test. I find that I can pass the WSO2 API Manager OAuth2, but can not pass the API Server OAuth2. the message is: "Authorization has been denied for this request." return by the API Server. How can I solve

Migrating the wso2 APIs and Applications to a Different Environment

时光总嘲笑我的痴心妄想 提交于 2019-12-24 12:25:06
问题 I'm setting up the API Manager Import and Export tooling for which we need deploy "api-import-export-2.6.0-v10.war" file to "/repository/deployment/server/webapps folder" where as it is throwing an error. StandardContext Servlet [JAXServlet] in web application [/api-import-export-2.6.0-v10] threw load() exception I'm using API Manager 2.6.0 and deployed "api-import-export-2.6.0-v10.war" which is of same version .war file. Tried another system where the error was same. ERROR - StandardContext

wso2 Securing Passwords in Configuration Files

六眼飞鱼酱① 提交于 2019-12-24 09:48:43
问题 I have downloaded wso2 api manager wso2am-2.1.0 and working on encrypting password for configuration files. I have followed steps to encrypt password in configuration files . but after following these steps if i start my wos2 server with wso2server.bat file , it is asking password. i have given password i.e; wso2carbon. i am getting below error : [2017-05-15 16:43:46,666] FATAL - TomcatBundleActivator Error while starting server NOT_FOUND_ERR: An attempt is made to reference a node in a

wso2 api manager map publisher URL parameters to values

随声附和 提交于 2019-12-24 09:17:55
问题 There is article from wso2 Map the Parameters of your Backend URLs with the API Publisher URLs. Within it we have how the complete publisher URL looks like: http://<hostname>:8280/<context>/<version>/<API resource> And the whole use case is: You can define variables as part of the URI template of your API's resources. For example, in the URI template /business/{businessId}/address/, businessId is a variable. The variables in the resources are read during mediation runtime using property

WSO2 AM 1.10.0 Swagger json export

旧街凉风 提交于 2019-12-24 07:59:50
问题 I added swagger API doc into Restful services and can be invoked as below, I created new APIs of the services in AM and they are working well, However, I do not know how to use WSO2 AM to export the swagger file as users ask the APIs definition file. Thanks, Sean 回答1: You can export swagger file in APIM. In publisher go to edit API. Then, in Design tab, click Edit Source link. Then Swagger editor will open. Then you can Download swagger file by File > Download... 来源: https://stackoverflow.com

CORS is not working on oAuth2 UserInfo endpoint in WSO2 API Manager

我的未来我决定 提交于 2019-12-24 07:37:10
问题 I am having trouble making CORS work at oAuth2's UserInfo endpoint. I want to retrieve claims (UserInfo) by calling the oAuth2 UserInfo resource. As I understood from stackoverflow post "WSO2 API Manager CORS" ... enabling CORS for oAuth2 resources should be done in the Synapse configuration by adding the CORSRequest handler as described in above stackoverflow link. I added this CORSRequest handler for Token en Revoke resources ( _TokenAPI_.xml en _RevokeAPI_xml ) as described in the above

how to add users to roles using SCIM in WSO2

夙愿已清 提交于 2019-12-24 07:12:03
问题 I want to add roles to users programatically in WSO2 Identity server. I am able to create users by SCIM API's.But cant find an API to add a user to a role. I tried giving the user name as "userName":"role/myusername" in the wso2/scim/Users POST API. But its not working ; not sure if its the correct approach. Can someone tell me how to add a role to an existing user and also add a role to a new user? Thanks 回答1: The answer here shows how to do that with SCIM PUT command. Also From IS 5.1.0