wso2

Trailing spaces when authenticating to WSO2 Identity Server

半世苍凉 提交于 2019-12-11 05:28:08
问题 I have found that my users are sometimes entering a trailing space after their username. This happens most often when copy & pasting their user name from an email or other electronic document. What happens is that the server will trim that space when authenticating that user, which then succeeds, but will not trim that space with retrieving claim values, which then fails. The result is that the user is passed to the service provider and then the service provider reports they do not exist. Is

WSO2 How to create custom mediation sequence to serve static content

核能气质少年 提交于 2019-12-11 05:13:44
问题 I'm trying to create an "pass-through" WSO2 API to serve some static files on an internal server to the outside. As I understand it, WSO2 requires me to configure multiple {resources} under /{context}/{version}/{resourcePath} . Assuming my context and version are 'files' and 'v1' I need to map these external paths to these internal paths on my backend server. /files/v1/js/api.js -> /js/api.js /files/v1/css/file.css -> /css/file.css /files/v1/api/2.0/auth/signin -> /api/2.0/auth/signin

Does WSO2 ESB (4.5.0) Oauth Mediator support OAuth2.0 Bearer token?

末鹿安然 提交于 2019-12-11 05:09:39
问题 I got an "Error while validating OAuth2 request" message when I send a OAuth2.0 Bearer token to WSO2 ESB (4.5.0) Oauth Mediator. Does WSO2 ESB (4.5.0) Oauth Mediator support OAuth2.0 Bearer token ? What's the correct request for Oauth Mediator? My bearer header... conn = (HttpURLConnection)url.openConnection(); conn.setRequestProperty("Authorization", "bearer " + request.getParameter("accessToken").toString() ); conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); 来源:

Encrypting and storing new passwords via the Management Console

我只是一个虾纸丫 提交于 2019-12-11 05:07:09
问题 I am trying to store password in wso2 management console so that I can refer it using an alias in my API configuration files. I am following below steps: Manage -> Secure Vault Tool and then click Manage Passwords-> Add New Password to encrypt and store: management console: adding password alias After clicking on add I get the below error "Failed to load security key store information ,Configure secret-conf.properties properly" I am struggling with this issue, don't know what I am missing. I

WSO2 Governance API from WSO2 ESB Mediator

我只是一个虾纸丫 提交于 2019-12-11 04:53:32
问题 im facing up to wso2 ESB 4.8.1 and WSO2 GREG 4.6.0. I have connected GREG as esb's remote Registry and now i need to develop a class mediator by which i can store shared recources inside the remote registry. 1) Does the Registry can store Java Object? 2) should i use org.apache.synapse.registry.Registry for browing the registry? or is it better to import the governance api inside the mediator project? For example i need to add and get a resource and to set it my custom properties. Then i want

Dynamic configuration of the WSO2ESB inbound endpoints

你说的曾经没有我的故事 提交于 2019-12-11 04:48:10
问题 I'd like to dynamically change some of the parameters of my inbound endpoint. More precisely, I have a RabbitMQ inbound endpoint, and I would like to dynamically specify server host name, port, queue name, etc. How can I do this? BTW, if it cannot be done with the existing components that's fine. It would also be great/acceptable if I could for example create a custom mediator that would read these properties from the message context and then somehow modify the RabbitMQ inbound endpoint, just

How to build WSO2 4.X from source?

时光怂恿深爱的人放手 提交于 2019-12-11 04:38:53
问题 We have been trying to build wso2 (various products) from source to no avail. I have looked for information all over (with assistance from Google) and followed the few instructions we have found but without luck. I have, on the other hand, found various posts discussing this process and how error prone it is due to this or that. Don't get me wrong, WSO2 looks like an amazing framework to work within but confidence in the project is not boosted by the complicated/error prone/enormous build

WSO2 as a Service Provider

删除回忆录丶 提交于 2019-12-11 04:36:46
问题 Does WSO2 support a use case wherein its a SAML service provider instead of being an Identity provider? I want to do a sample use case where wso2 is the identity provider and another instance that is a service provider. Is it possible to use wso2 as a service provider. 回答1: Yes.. It is possible, Because WSO2 Carbon product has an authentication framework that we can plug any authenticators. There is SAML2 SSO authenticator (Relying part) that can be plugged with Carbon server. You can find

ListeningIOReactor encountered a checked exception : Too many open files

℡╲_俬逩灬. 提交于 2019-12-11 04:27:53
问题 We are facing a strange issue in WSO2 ESB 4.9.0 with below error. After we start the server, server is respondin but it's not accepting any http requests. Below is the error. We are just testing 20-50 reqeusts... 2016-06-17 13:13:15,330 [-] [PassThrough HTTP-Listener I/O dispatcher Listener] WARN PassThroughHttpListener System may be unstable: HTTP ListeningIOReactor encountered a checked exception : Too many open files java.io.IOException: Too many open files at sun.nio.ch

WSO2 Data Services JSON issue

江枫思渺然 提交于 2019-12-11 03:35:44
问题 I hope you can help me getting JSON REST WSO2 Data Service work. I use v 3.0.1 and sample data service. I suspect that I do smth wrong... I created a resource 'products' that is bound to productsSQL query. XML REST request work perfectly, but not JSON: curl --request GET http://myserver.com:9763/services/samples/RDBMSSample.HTTPEndpoint/products -H Content-Type:"application/json" returns > "Fault":{"faultcode":"","faultstring":"No JSON message received > through HTTP GET or POST","detail":""}