wso2

WSO2 Encrypt the primary LDAP userstore credentials

有些话、适合烂在心里 提交于 2019-12-24 06:46:04
问题 Using WSO2AM-2.6.0, we are trying to encrypt userstore credentials for a primary LDAP userstore manager. Encrypting credentials well works for the realm config credentials (admin password), jndi properties, api-manager.xml, datasource credentials. What we have issue with is the primary userstore LDAP connection credentials (as the user is as well an admin user) In theory there are comprehensive guides as well some older questions such as here How to encrypt LDAP UserStore password in usr-mgt

SSL certificate error on Nginx load balancer on WSO2 API cluster

让人想犯罪 __ 提交于 2019-12-24 06:08:01
问题 I configured API cluster with Nginx Load Balancer by manuals : https://docs.wso2.com/display/AM250/Configuring+the+Proxy+Server+and+the+Load+Balancer https://docs.wso2.com/display/CLUSTER44x/Setting+up+a+Cluster I tried to use a self-signed certficate or commercial cert for LB, but when i open LB web-page on 443 port i have the same errors in logs: SSL_do_handshake() failed (SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate:SSL alert number 42) while SSL handshaking

WSO2 responds payload in binary

旧时模样 提交于 2019-12-24 04:51:55
问题 I have a corportative environment and make changes in axis2.xml and carbon.xml can generate impacts. My problem is that WSO2 is responding the message in binary as an example: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <axis2ns1073:binary xmlns:axis2ns1073="http://ws.apache.org/commons/ns/payload">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48UzpFbnZlbG9wZSB4bWxuczpTPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VudmVsb3BlLyI

adding scopes programmatically in wso2 APIM

不想你离开。 提交于 2019-12-24 04:26:08
问题 can I create scopes programmatically in WSO2 APIM? I have a requirement where user can create new roles via UI and associate some permissions with the new role..User will not use WSO2 web interface ; rather he will use the inhouse web application For this, I have to programmatically create Scopes and associate API's with it. Also manually map scopes to roles. How can I create scopes via WSO2 APIM Programmatically? What all the operations possible with scopes programmatically? If it's not

Multiple Decisions Profile Policy in XACML 3.0

末鹿安然 提交于 2019-12-24 04:18:49
问题 I have requirement to write a policy for the particular user it will return the xacml response like this : This policy is based on single user : bob FirstName: Create= true , Read = true, Update = true, Delete = false MiddleName: Create= true , Read = true, Update = true, Delete = false LastName: Create= true , Read = true, Update = true, Delete = false How to write a xacml policy for such requirement and how the request will look like for the same policy. How to achieve this policy using

remove weakened protocols in WSO2 1.10.0

£可爱£侵袭症+ 提交于 2019-12-24 02:27:11
问题 I have an answer which can disable unwanted protocols/ciphers (TLSv1.0 and 3DES based ciphers) for management console in Tomcat(port: 9443), Disable weakened protocols/ciphers in WSO2AM-1.10.0. however, I have no idea how can I apply the same settings to API connection in Axis server (Port 443) like below, The API connection using 443 port seems still support TLSv1 as tested by sslsscan, Thanks,Sean 回答1: You need to change the following pass-through settings in repository/conf/axis2/axis2.xml

WSO2 Developer studio keeps removing gov endpoints in send mediator

北战南征 提交于 2019-12-24 02:14:11
问题 I'm using endpoints which are stored in governance registry so I often use code like this: <send> <endpoint key="gov:endpoints/policyEp.xml"/> </send> unfortunately, once in a while, my endpoint disappears, leaving empty send tag :( It usually happens when saving changes to the proxy or rebuilding cars to deploy on attached carbon server (in developer studio 3.8.0). I have searched for similar issues and found none. Any ideas? I have a suspicion that it has something to do with developer

WSO2AM 1.10.0 How to set default OAuth2 grant types?

久未见 提交于 2019-12-24 02:13:54
问题 When setting up an application from the API Manager store how can I make the OAuth2 grant types authorization code and implicit the defaults for the app? I know how to do this manually using the carbon interface but I would like to make the two grant types the default. 回答1: For authorization code and implicit grant types to be enabled by default, you need to specify a callback URL when creating the App on store. When the callback URL is available these 2 grant types will be shown as enabled

How to sort the xml element based on data in wso2esb

≯℡__Kan透↙ 提交于 2019-12-24 01:45:23
问题 I am using wso2esb. I wish to transform the data using wso2esb i have done the issue is while response i am getting data in descending manner how would i arrange in to ascending way . <response> <customer-details> <cusfirstname>Empire Burlesque</cusfirstname> <delarname>Bob Dylan</delarname> <cusno>254</cusno> </customer-details> <customer> <cusId>6</cusId> <customername>Bonnie Tyler</customername> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> <

Handling null values with wso2 CEP

可紊 提交于 2019-12-24 01:44:18
问题 I want to update event table (RDBMS) using additional condition that one column in that is not null. Table name is MSISDNProfileDB and it's in oracle db. from incomingStream#window.length(1) select correlation_MSISDN as MSISDN, INTERACTION_DT as INTERACTION_DT update MSISDNProfileDB on MSISDNProfileDB.MSISDN == MSISDN and not(MSISDNProfileDB.column1 is null); it validates the code, but does not update INTERACTION_DT. For testing purposes, I changed it to check if the column is null, and