wso2

WSO2 - Identity Server and API Manager working together

不打扰是莪最后的温柔 提交于 2019-12-09 06:46:24
问题 I'm evaluating WSO2 Identity Server and WSO2 API Manager. I registered an API and an application on API Manager. I can call the resources successfully. I could also add an user into Identity Server and log into that using oAuth authentication. But, it's not too clear how I can use those two systems together. I would like to use API Manager to expose my API's to some applications. And, I would like to use Identity Server to log the final user. Is that possible? How can I "plug" those two

Change default admin password on WSO2 DAS

蓝咒 提交于 2019-12-08 21:22:45
After installing WSO2 Data Analytics Server and changing the default admin password i am getting the following ERROR ERROR {org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker} - Error while trying to connect to the endpoint. Cannot borrow client for ssl://localhost:7711 {org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker} org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException: Cannot borrow client for ssl://localhost:7711 Does anybody knows why this is happening. What conf file i have to change and how? stack trace: TID: [-1234] [

How to access response payload content from custom handler in WSO2 APIM 1.9

旧巷老猫 提交于 2019-12-08 20:58:28
How to access response payload content from custom handler in WSO2 APIM? I tried get this from org.apache.synapse.MessageContext or from org.apache.synapse.core.axis2.Axis2MessageContext; but I am not able get the response payload. Can anyone please help? You need to build the message inside you handler before reading the payload, as shown below. public boolean handleResponse(MessageContext messageContext) { try { RelayUtils.buildMessage(((Axis2MessageContext) messageContext).getAxis2MessageContext()); } catch (IOException e) { e.printStackTrace(); } catch (XMLStreamException e) { e

Criteria for choosing simple Apache Synapse Vs WSO2

大城市里の小女人 提交于 2019-12-08 20:46:43
问题 While evaluating various ESB's, I came across Apache Synapse & WSO2. In WSO2 it's mentioned that WSO2 completely uses Synapse and built on top of it. However I am not still clear what additional features does WSO2 offer over Synapse? (Apart from commercial support). One difference I could see is the web UI to manage proxy definitions, sequences creation etc. Are there any other features which WSO2 provides over Synapse? Also please share if there are any guidelines to choose between Synpase &

WSO2 API Manager 1.8 - Trying out XACML - Error creating the policy

微笑、不失礼 提交于 2019-12-08 19:56:28
I am trying to see how XACML can be used with the API Manager for controlling access to some of the resources. I have followed the blog post here, http://wso2.com/library/articles/2014/02/use-of-wso2-api-manager-to-validate-fine-grained-policy-decisions-using-xacml/ I have also tried following one more post from the following link, http://niranjankaru.blogspot.fr/2014/11/user-role-based-access-to-api-using.html Also, I have gone through most of the Stackoverflow question regarding this topic. The following are my questions, Are the versions of the "XACML (4.2.2)" and "XACML Mediation (4.2.2)"

Generating stubs with jax-ws fails

痞子三分冷 提交于 2019-12-08 19:42:00
问题 I am trying to generate a stub using jax-ws for the WSO2 Identity Server admin service https://xx.xx.xx.xx:9447/services/RemoteUserStoreManagerService?wsdl. I've downloaded the wsdl but when I run: wsimport -p org.wso2 RemoteUserStoreManagerService.xml I get the following errors [ERROR] operation "updateCredential" has an invalid style line 679 of file:/C:/tmp/RemoteUserStoreManagerService.xml [ERROR] operation "setUserClaimValue" has an invalid style line 683 of file:/C:/tmp

Transaction roll back not working in wso2esb4.8.0

天涯浪子 提交于 2019-12-08 13:46:11
问题 I am using wso2esb4.8.0 and wso2dss3.0.1.My issue is I wish to insert the data into 2 tables its working nicely but I wish to applay transaction for my tables both table exist in same DB.If my 2nd table going fail on any moment that time my 1 st table should be rollback for that my DSS data source configuration is and my dataservice is like this and I enabled boxcar for transaction <data disableStreaming="true" enableBoxcarring="true" name="Transaction" serviceNamespace="http://ws.wso2.org

ERROR engine.AxisEngine: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm

a 夏天 提交于 2019-12-08 13:39:05
问题 I am getting the below exception when I am calling the SecureStockQuoteProxy service with a proxy service. Here I have exposed this secured service as a REST API (which is unsecured). When I am calling the REST API, ESB throws the below error. [2013-11-24 12:41:46,386] ERROR - AxisEngine InvalidSecurity org.apache.axis2.AxisFault: InvalidSecurity at org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164) at org.apache.axis2.engine.Phase

How to get SAML2 Bearer Assertion profile for OAuth within WSO2 API Manager to work?

浪子不回头ぞ 提交于 2019-12-08 13:37:39
I have problems getting work "SAML2 Bearer Assertion profile for Oauth" within WSO2 API Manager. I'm trying to apply "Johann's Wall" How-to on API Manager (ver. 1.5) but running in the following error. [2013-11-08 17:44:35,930] DEBUG - SAML2BearerGrantTypeHandler SAML Assertion Audience Restriction validation failed [2013-11-08 17:44:36,024] DEBUG - AccessTokenIssuer Invalid Grant provided by the client, id=enfKWsilmCxdIwhYiINcoA2JKwka, user-name=admin to application=MyFlowChart [2013-11-08 17:44:36,025] DEBUG - AccessTokenIssuer OAuth-Error-Code=invalid_grant client-id

wso2 identity server - disabling user sign up

泄露秘密 提交于 2019-12-08 13:35:02
问题 I would like to disable the default wso2 identity server functionality that allows new users to sign themselves up (wso2is user guide description). Instead, I would only like the administrator to be able to create new users. Is this possible? How do I configure this? 回答1: It is possible to disable users from registering themselves on the WSO2 identity server. The steps to follow for disabling users from self registering can be found here 来源: https://stackoverflow.com/questions/11317440/wso2