wso2

Howto extract data from the JSON body of REST request inside a WSO2 ESB Synapse handler

谁都会走 提交于 2019-12-24 16:31:05
问题 I'm writing a custom Handler for WSO2 ESB to construct authentication credentials based on input request content. Right now what I have is something like this: public boolean handleRequest(MessageContext context) { // TODO: extract relevant information (clientId) from JSON request body String clientId; Map<String, String> headers = (Map<String, String>) ((Axis2MessageContext) context).getAxis2MessageContext().getProperty( org.apache.axis2.context.MessageContext.TRANSPORT_HEADERS);

How to encrypt LDAP UserStore password in usr-mgt.xml in WSO2?

北城以北 提交于 2019-12-24 15:39:32
问题 I am trying to encrypt the UserStore connection password in WSO2 Identity Server (usr-mgt.xml) using ciphertool.bat ( using WSO2 version 5.0.0). I have a jks file with same password for key and keystorepassword . In ciphertool.properties , modified following line as: UserStoreManager.Property.ConnectionPassword=repository/conf/user-mgt.xml I generated a encrypted password by using ciphertool.bat -DConfigure command and I updated ciphertext.properties file as: UserStoreManager.Property

Can we Set a Send mediator with Xpath expression

非 Y 不嫁゛ 提交于 2019-12-24 15:32:12
问题 i am trying to send a message to my email for that i am using send mediator as well i setup required configurations in AXIS2 file is it work for below proxy if not what is the way to give xpath to send mediator <proxy xmlns="http://ws.apache.org/ns/synapse" name="mailCheck" transports="http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="Subject" value="Alert Message From WSO2 ESB - Service Down !!!" scope="transport" type="STRING"/> <property

WSO2 Carbon Database getting corrupted

六眼飞鱼酱① 提交于 2019-12-24 15:26:19
问题 Whenever we deploy an API Manager and users create accounts, after some time - weeks, days and sometimes in a matter of minutes - the carbon database seems to get corrupt and users are no longer able to sign in or even create accounts. The error that arrises is WARN - AuthenticationHandler Illegal access attempt at [2013-05-19 13:13:37,0963] from IP address 192.168.0.5 while trying to authenticate access to service UserAdmin The only option we have is to recreate the database and redefine the

wso2 3.0.0 修改 host

二次信任 提交于 2019-12-24 14:51:49
在wso2 3.0.0版本,直接修改carbon.xml里面的host是不会生效的。 正确的修改位置为 <API-M_HOME>/repository/conf/deployment.toml 修改里面的hostname属性 官方参考地址: https://apim.docs.wso2.com/en/3.0.0/InstallAndSetup/DeployingWSO2APIManager/changing-the-hostname/ 修改以后,登录时还会报错,还需要修改登录验证的url验证的部分,按照截图一步步操作即可。参考地址: https://apim.docs.wso2.com/en/latest/Troubleshooting/troubleshooting-invalid-callback-error/ 来源: CSDN 作者: qq_30794691 链接: https://blog.csdn.net/qq_30794691/article/details/103681094

WSO2 MDM Android Agent issue

孤人 提交于 2019-12-24 13:37:30
问题 I was able to succesfully build and export the Android app in Eclipse after entering the server IP address in the CommonUtilities.java file. This apk is downloaded, installed and run on the mobile android device with success. But now when I enter all necessary data for first registration of the app and choose 'Register', I get a message saying : 'Authentication failed due to a conenction failure do you want to try again?' Any idea what I might be doing wrong? 回答1: Can you replace your

WSO2 BAM Hive NoSuchObjectException Error

北慕城南 提交于 2019-12-24 13:35:26
问题 I have configured BAM 2.4.0 as indicated in the document Monitoring using WSO2 BAM. I am using MySQL. When I try to run the script for drop table as explained on section "Changing the statistics database" from BAM Management Console, I've received this error. Any idea? [2014-05-08 11:01:19,948] ERROR {hive.ql.metadata.Hive} - NoSuchObjectException(message:default.APIFaultSummaryData table not found) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler$17.run(HiveMetaStore.java:1222)

json conversion issue in wso2 API Manager

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 13:21:03
问题 We are trying to use wso2 api manager to access some of our RESTful services. The rest services expect a json payload. When json request is sent to api manager it converts the json request to xml and again while forwarding to the actual endpoint it converts to json back. The resulting json is not matching exactly the original request in one of our cases. For instance if the rquest contains an array of elements and if only one element is passed in the array then when api manager forwards the

WSO2IS - Upgrading PasswordDigest property for existing deployment

折月煮酒 提交于 2019-12-24 12:51:46
问题 We intend to change the digest properties of our user-mgt.xml file to make changes to how our passwords are stored (WSO2IS 5.3.0) ... <Property name="PasswordDigest">SHA</Property> <Property name="passwordHashMethod">SHA</Property> <Property name="StoreSaltedPassword">false</Property> ... I'm curious if WSO2IS will automatically handle upgrading existing users, or if I need to follow a process similar to the one outlined here. EDIT: I will also note that we are going to start salting

best WSO2-ESB solution for banking application

亡梦爱人 提交于 2019-12-24 12:34:17
问题 we are a co-banking solutions company. currently we are developing a solution and we hope to use WSO2-ESB in our solution to manage our services this is the brief scenario of our project,.... we have a oracle application server that generate various services.there are two kind of services 1.services that can be access from outside users 2.services that can be access by inhouse users. ****also security is more concerned my questions are, 1.how to use WSO2-ESB in this scenario..?? 2.is it one