wso2

WSO2 Identity Server throwing Nullpointerexception while integrating with ADFS Server

时间秒杀一切 提交于 2020-07-21 06:25:49
问题 I am using the WSO2 Identity Server 5.10.0 and I am trying to implement WSO2IS with an external ADFS Server. I have followed https://docs.wso2.com/display/IS570/Configuring+AD+FS+as+a+Federated+Authenticator example and configure my ADFS as Identity Provider from the WSO2 Admin Console. The server is able to redirect to the ADFS login page but when the ADFS sends a callback to the WSO2IS it is throwing NullPointerException. The complete Stack trace is as follows: [2020-04-02 17:49:56,407]

WSO2 Identity Server throwing Nullpointerexception while integrating with ADFS Server

|▌冷眼眸甩不掉的悲伤 提交于 2020-07-21 06:25:10
问题 I am using the WSO2 Identity Server 5.10.0 and I am trying to implement WSO2IS with an external ADFS Server. I have followed https://docs.wso2.com/display/IS570/Configuring+AD+FS+as+a+Federated+Authenticator example and configure my ADFS as Identity Provider from the WSO2 Admin Console. The server is able to redirect to the ADFS login page but when the ADFS sends a callback to the WSO2IS it is throwing NullPointerException. The complete Stack trace is as follows: [2020-04-02 17:49:56,407]

Siddhi Error connecting to JMS provider

风格不统一 提交于 2020-06-29 04:48:09
问题 I tried to send events from WSO2 SP to activeMQ via siddhi-io-jms extension, but i have following error. Error connecting to JMS provider. NamingException while obtaining initial context. I have followed this doc for support jms transporting https://docs.wso2.com/display/SP400/Supporting+Different+Transports, put all necessary jar files to lib, also I set correctly @sink in siddhi app, factory.initial and provider.url are correct. Any idea, why SP can't connect to jms? 回答1: According to OSGi

How to increase WSO2 LDAP Query Limit

独自空忆成欢 提交于 2020-06-29 04:25:07
问题 I am using WSO2 Identity Server in my project for authentication and authorization and in my WSO2 server primary data source is LDAP. For authorization, I need to fetch 2 things 1) How many roles assigned to the user. 2) How many users assigned to the role. So I am using getRoleListOfUser and getUserListofRole from RemoteUserStoreManagerService web service. Now the issue is one role is assigned to around 25K users. When I execute getUserListofRole I get only 2k Users as part of the response.

WSO2 EI/ESB: Aggregate mediator for nested Iterate

心不动则不痛 提交于 2020-06-17 13:26:29
问题 I am implementing Iterate mediator inside Iterate mediator. After that, I have an Aggregate mediator in out-sequence. <inSequence> <iterate attachPath="json-eval($.Entity.names)" expression="json-eval($.Entity.names)" id="iterate-over-names" preservePayload="true"> <target> <payloadFactory media-type="json"> <format>[{"value" : 1},{"value" : 2},{"value" : 3},{"value" : 4},{"value" : 5},{"value" : 6},{"value" : 7},{"value" : 8},{"value" : 9}]</format> <args/> </payloadFactory> <iterate

CORS blocked in wso2 identity server

烂漫一生 提交于 2020-06-16 18:33:21
问题 I use WSO2is 5.7.0 with my angular 6 app, i tried make api call from my app but i have a cors error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at I already activated the cors enabled in oauth and authenticationendpoint, i edited de WEB-INF/web.xml of both webapps with this lines: <filter> <filter-name>CORS</filter-name> <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class> <init-param> <param-name>cors.allowOrigin</param-name>

WSO2 EI/ESB: Append payload from Payload Factory to Path Parameter in backend call

僤鯓⒐⒋嵵緔 提交于 2020-06-01 07:41:07
问题 I have a payload factory like below: <payloadFactory media-type="json"> <format>[{"value" : 1},{"value" : 2},{"value" : 3}]</format> <args/> </payloadFactory> <iterate expression="json-eval($)" id="iterate-over-nameAddress"> <call> <endpoint> <http method="get" uri-template="https://backend.com/names/value+{uri.var.value}/address"/> </endpoint> </call> </iterate> In the above code, in backend call, I want the path-parameter " value+{uri.var.value} " to change dynamically according to the

WSO2 EI/ESB: For loop implementation

佐手、 提交于 2020-05-30 20:51:49
问题 I want to implement a simple " for loop " in WSO2 Integration Studio. For example: I am implementing a bus-route API. Every bus has 10 different stops. I want to fetch the 10 stops from the back-end service. A normal for-loop for this would be: for(i=0;i<10;i++) { //back-end call <call> <endpoint> <http method="get" uri-template="https://backend.com/city+i"/> </endpoint> </call> } NOTE: In the above for loop, the back-end call has path parameter like city which should be iterated as city1,

Sequential back-end calls in WSO2 EI/ESB

你离开我真会死。 提交于 2020-05-15 21:48:07
问题 In my case, the response from the first back-end call is in Array of Objects format as below: Response: "Entity": { "related-List": [ { "fname": "abc", "lname": "xyz", "bdate": "2013-01-25", "accType": "Cur", "accNum": "54736", "bal": 901, "address": "USA" }, { "fname": "def", "lname": "pqr", "bdate": "2013-01-25", "accType": "Sav", "accNum": "12345", "bal": 901, "address": "USA" }, { "fname": "ghi", "lname": "stu", "bdate": "2013-01-25", "accType": "Dep", "accNum": "87654", "bal": 901,

Enable Single Logout in WSO2 Identity server and redirect to custom login page

眉间皱痕 提交于 2020-04-30 07:12:45
问题 I am using WSO2-IS 5.3.0. I have configured many service provider and SAML SSO is working as expected. But when it comes to Logout, One functionality is working fine. It means it redirects me to a common logout page after an invaliding session. Here, I have one case, I have one service provider for it, I need to perform single logout but it should redirect to my custom login page. Though IS providing the option to configure return URL(SLO Response URL) you can see in the below screenshot. I