wso2-am

Access denied on API Manager

烂漫一生 提交于 2019-12-12 04:16:11
问题 I tried to install API Manager on an Amazon EC2 service, the installation didn't return an error but when I launch the service via a bash, it does give me some : JAVA_HOME environment variable is set to /usr CARBON_HOME environment variable is set to /home/ec2-user/wso2am-1.10.0 Using Java memory options: -Xms256m -Xmx1024m [2016-02-05 14:24:27,851] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2016-02-05 14:24:27,860] INFO - CarbonCoreActivator Operating System : Linux 4.1.13-19.31

Passing end-user details from client to real backend endpoint via JWT token in WSO2 APIM

不羁的心 提交于 2019-12-12 04:15:09
问题 I am new to WSO2 API Manager using version 1.9.1 . I am trying to implement the WSO2 APIM + JWT assertion looking at http://lalajisureshika.blogspot.in/2013/06/passing-end-user-details-from-client-to.html and http://sumedha.blogspot.in/2012/08/using-jwt-to-send-application-user.html (but the steps are not too good enough to understand). I changed following from <APIM_HOME>/repository/conf/api-manager.xml <APIConsumerAuthentication> <SecurityContextHeader>X-JWT-Assertion</SecurityContextHeader

Create Mediation Exception In WS02 API Manager

怎甘沉沦 提交于 2019-12-12 04:05:56
问题 I am having following issues and questions: I am getting exceptions when creating a mediation. When select the ‘Browse’ icon in the Resources tab, I got blank screen with following error. I am using IE browser. Java env is JDK8. [2016-01-17 22:23:36,275] ERROR - RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/res ources/resource.jsp'. ServletException while including page. java.io.IOException: JSPException while including path '/resources/resource.jsp'.

WSO2 Identity Server listening to port 9999

不想你离开。 提交于 2019-12-12 03:58:54
问题 When ever WSO2 ID Server or WSO2 API Manager starts , it always listens to port 9999.. How can i change this port to some other port? I have tried editing carbon.xml RMIRegistryPort .But no luck..Its still listening to port 9999.. 回答1: "listening for transport dt_socket at address" message will get printed when server is stared in debug mode. check JAVA_OPTS , debug option[1] might have been set in system level so all application will get affected [2] [1] JAVA_OPTS=-Xdebug -Xnoagent -Djava

WSO2 DAS + Clustering APIM with mysql

孤街醉人 提交于 2019-12-12 03:49:55
问题 My APIM version is 1.10.0 and DAS is 3.0.1. At first ,I deploy no Clustering APIM + DAS with mysql. the stats shows good. Then,I clustering APIM into publisher、store、keymanager and gateway.Configured APIM and DAS order this article,when I invoke an api , gateway node then show error [2016-10-13 11:13:54,775] ERROR - APIMgtUsageHandler Cannot publish event. null java.lang.NullPointerException at org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.publishEvent

WSO2 API POST Python Web Service - Empty or No Payload to server

独自空忆成欢 提交于 2019-12-12 03:44:49
问题 I am not able to send request payload to my POST service from WSO2. On rest console, my service is working. From WSO2 server I am able to do curl to my server with successful response. here is my API configuration Payload to send: {"query":"Hi I am a POST query parameter"} My server is receiving {} as request payload. It expect RAW body in JSON (as above) in payload. I have tried all combinations for Parameter Type, but still not able to send payload to my server from WSO2. How can I do this?

Push user SAML attributes to backend service via WSO2 API Manager

醉酒当歌 提交于 2019-12-12 03:22:48
问题 I am using WSO2 API Gateway to service API calls. The backend requires custom user attributes (username, e-mail, etc.) to be sent as part of the query string in the URL. The values for the query string pairs will be provided in the SAML2 token embedded in the API call. How can a mediator access these custom SAML2 attributes? 回答1: You can create a custom mediator or custom handler to parse the saml token and set it to a header or something . see Writing Custom+Handlers for sample handler which

wso2: Can't login to correct publisher tenant

霸气de小男生 提交于 2019-12-12 03:13:29
问题 Environment : wso2 API-M + wso2 Identity server (Key manager) and they shared the same user store. 2 service providers(publisher and store) and 2 identity providers(Google and Facebook) in the carbon.super tenant. SSO service enabled and issuer IDs follow above. Enable OAuth2.0 users(Google and Facebook) to login. 3 tenants (carbon.super , TA and TB) in the environment. What I tried: Social accounts can login to publisher and store and they will be directed to carbon.super publisher. TA users

WSO2-APIM/IS How to configure repository\conf\identity\identity-providers\default.xml

我怕爱的太早我们不能终老 提交于 2019-12-12 03:07:59
问题 I have created a custom federated authenticator in WSO2-APIM/IS and have enable Just-In-Time Provisioning. Since in API Manager when an application is created a corresponding service provider will be created as well. I want to have all service provider be using my custom authenticator as default which, I think, can be done by editing the file repository\conf\identity\identity-providers\default.xml However I can not find the information in the documentation on the format of this file which I

'Try it now' in the Quick Start never returns

孤人 提交于 2019-12-12 02:58:16
问题 I have installed the API Mgr 1.7.0 in Win 7 64. I have been through the Quick Start guide and all appeared to work as described. However, when I get to the point of trying the subscribed-to cdyne api, the 'moving dots' graphic stays there forever. I can't find a way to stop it, other than a browser refresh. I can't see an entry in the API Mgr system logs. I have removed the parameters and the auth info, which is supposed to return a 401, but it doesn't and the moving dots continue. I'm using