wso2

Java Security error when overriding doGetExternalRoleListOfUser in WSO2 IS

只愿长相守 提交于 2019-12-11 16:27:49
问题 I am overriding the method doGetExternalRoleListOfUser of the class classActiveDirectoryUserStoreManager in WSO2 IS. I do this to make IS return Active Directory nested group of a user since IS just return "direct" groups of a user as OOB feature. The code is quite simple, but when we consume the IS service getUserClaimValues to check the information of a user, I get the following soapFault error: <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Error occurred while

As in the iterate to change the message and send it fully (wso2esb)

不羁岁月 提交于 2019-12-11 16:24:48
问题 I receive a message from AAA nested children. I want every child BBB replace the value of CCC . Then send the modified message on AAA <AAA> <BBB> <CCC>test1</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test2</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test3</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test4</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test5</CCC> <DDD>testing</DDD> </BBB> </AAA> I do it: <iterate continueParent="true" expression="/AAA/BBB"> <target> <sequence> <property name=

How to debug invlide JMS URL while creating an API

坚强是说给别人听的谎言 提交于 2019-12-11 16:16:53
问题 I am following an example to do the following: "Create an API with the JMS backend endpoint – Let’s now create an API within the API manager. You can follow the regular process when creating the API. As shown below, make sure you enable ‘POST’ HTTP verb when defining the resources. Once this has been done, let’s add the JMS URL as the production endpoint. Select the endpoint type as ‘Address Endpoint’ from the endpoint type drop-down menu. The production URL would be the actual JMS endpoint.

How to using client_ip and request_uri in XACML policy in WSO2 IS

泪湿孤枕 提交于 2019-12-11 15:48:56
问题 We are using WSO2 IS as the Identity Bus for our solutions. We make REST API in WSO2 ESB to implement our Integration and use OAuth mediator in that to securing our API. in WSO2 IS we create a service provider as sp1 and apply XACML policy to that. I want to create XACML policy to permit incoming requests just when client_ip is xxx.xxx.xxx.xxx and request URI is http://wso2ESB.uri/sampleApi/app and method is GET . please help me to make this XACML policy in WSO2 IS. 回答1: Currently WSO2

WSO2 Identity Server SAML2 Response Issuer verification failed

安稳与你 提交于 2019-12-11 15:47:02
问题 I have set up WSO2 Identity Server with Office 365 (AAD) Identity Provider, the sso sample app travelocity.com and configured my Azure Active Directory application with the necessary permissions.I have disabled user consent on both side, Azure AD & my Identity Server. Using the sample app, the login is working fine but I receive the following error from travelocity.com An error has occurred SAML2 Response Issuer verification failed I guess the authentication is working, from the debug logging

WSO2 IOT SERVER MODIFICATION

僤鯓⒐⒋嵵緔 提交于 2019-12-11 15:33:44
问题 I want to modify my wso2 iot server to do the following task. Now I have only one LED bulb which is connected to my RASPBERRY PI. I want to increase the number of LEDs up to 3. Now the system turn on the only LED when the temperature in greater than 28 C. I want to turn on the 2nd LED when the temperature in greater than 30 C & turn on the 3rd LED when the temp is greater then 35 C. So when the temperature is 36 C all 3 LEDs are working. How can I do this? Can I modify some files in WSO2 iot

We will need to determine how we can create the WSO2 account from that account information

青春壹個敷衍的年華 提交于 2019-12-11 15:18:33
问题 Some buildings will initially connect with their single sign-on based company account and we will need to determine how we can create the WSO2 account from that account information. More description :- The customer has informed us they want to use their own SSO server (could be SAML or OIDC). When a user logs into the system using valid credentials from that SSO, they are allowed to connect to our systems with tenant user permissions. Other permissions can be added by a system manager. This

How can I transform an incoming SOAP response into a JSON document using WSO2 ESB 4.0.3?

梦想与她 提交于 2019-12-11 15:09:26
问题 I would like to transform the SOAP response body to JSON using WSO2 ESB 4.0.3. I found info on how to configure the ESB for JSON but then what? To put it differently; I would like to have/create a transform mediator that transforms incoming SOAP/XML response into JSON (and actually it woudl be good to have a JSON2XML transform mediator too). Should I develop is as a Groovy script mediator or Java class mediator? The best would be to have it pre-packaged with the ESB as it says it supports

How Can I handle Error sequence in WSO2ESB

匆匆过客 提交于 2019-12-11 15:08:58
问题 i want handle error using fault sequence but i wish to customize it with delete operation my scenario is while i am inserting in 2 tables if error occurred in 2nd table insertion i need to delete 1 st row insertion also my config is below <proxy xmlns="http://ws.apache.org/ns/synapse" name="ErrorHandling" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target > <inSequence onError="fault"> <property name="eno" expression="//eno/text()" scope="default" type=

WSO2 JWT Authentication and Gateway grouping

爷,独闯天下 提交于 2019-12-11 15:07:50
问题 I have been trying to configure WSO2 API manager as our API Gateway. I am facing below issues while configuring and testing. Authorization of apis migrated to WSO2 Getting JSONObject["exp"] not found. when trying to access API with Token Not sure about the client ID which has to be given for Authorization URL: https://localhost:8243/authorize Is this URL: https://localhost:8243/authorize is the one we use for authenticate the APIs Have used carbon for creating users, Service and Identity