sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: August 2015
http://sanjeewamalalgoda.blogspot.com/2015_08_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Thursday, August 13, 2015. Sample data source configuration for WSO2 Servers to connect jdbc using LDAP. Please find following sample data source configuration to access jdbc using LDAP connection. DATASOURCE NAME / name. The datasource used for BPS / description. Jdbc/JNDI NAME / name. Jdbc:oracle:thin:@ldap:/ localhost:389/cn=wso2dev2,cn=OracleContext,dc=test,dc=com / url. DB USER NAME / username. DB PASSWORD / password.
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: October 2014
http://sanjeewamalalgoda.blogspot.com/2014_10_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Thursday, October 30, 2014. How to modify JWT to retrieve subscriber details instead of end user - WSO2 API Manager. IN WSO2 API Manager JWT generated per API call. To generate we will use access token coming with the request. From this token we will retrieve token owner(person who generated token). 1]https:/ docs.wso2.com/display/AM170/Passing Enduser attributes to the Backend Using JWT. Subscribe to: Posts (Atom). He grad...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: September 2014
http://sanjeewamalalgoda.blogspot.com/2014_09_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Monday, September 22, 2014. Read system property using proxy service deployed in WSO2 ESB. Here i have added sample synapse configuration to get carbon server home property and return it as response. Add this configuration and invoke proxy service. You will get carbon.home as response. Wednesday, September 17, 2014. Then you can invoke created proxy service. Import org.apache.synapse.MessageContext;. Var carbonHome = mc....
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: How to get MD5SUM of all files available in conf directory
http://sanjeewamalalgoda.blogspot.com/2015/07/how-to-get-md5sum-of-all-files.html
I hope to share my knowledge with the others in software and networking industry. Tuesday, July 14, 2015. How to get MD5SUM of all files available in conf directory. We can use following command to get MD5SUM of all files available in the system. We can use this approach to check status of configuration file of multiple servers and check those are same or not. Find /folderName -type f -exec md5sum {} ; test.xml. Subscribe to: Post Comments (Atom). View my complete profile. How to change endpoit configura...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: December 2014
http://sanjeewamalalgoda.blogspot.com/2014_12_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Monday, December 22, 2014. How to get custom error messages for authentication faliures in WSO2 API Manager 1.8.0. Here in this post i will discuss how we can generate custom error messages for auth failures. If you need to retrieve message in application/vnd.error json format you need to add following parameter to auth failure handler .xml sequence file. MessageFormatter contentType= "application/vnd.error json". Ex: AM HO...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: April 2015
http://sanjeewamalalgoda.blogspot.com/2015_04_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Wednesday, April 29, 2015. WSO2 API Manager relationship between timestamp skew, token validity period and cache expiration time. Let me explain how time stamp skew works and how it effect to token generation. First time stamp skew is there to fix the issues due to small time differences in system clock values of servers. Let say you have 2 key managers and you generate token from one and authenticate with other. When we us...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: May 2015
http://sanjeewamalalgoda.blogspot.com/2015_05_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Tuesday, May 19, 2015. How to use Authorization code grant type (Oauth 2.0) with WSO2 API Manager 1.8.0. 1 Create API in WSO2 API Manager publisher and create application in API store. When you create application give some call back url as follows. http:/ localhost:9764/playground2/oauth2client. 2 Paste the following on browser - set your value for client id. Response from step 02:. Curl -v -X POST - basic -u O2OkOAfBQlicQe...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: March 2015
http://sanjeewamalalgoda.blogspot.com/2015_03_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Friday, March 27, 2015. How to use API Manager Application workflow to automate token generation process. Workflow extensions allow you to attach a custom workflow to various operations in the API Manager such as user signup, application creation, registration, subscription etc. By default, the API Manager workflows have Simple Workflow Executor engaged in them. You can find more information about work flows in this document.
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: February 2015
http://sanjeewamalalgoda.blogspot.com/2015_02_01_archive.html
I hope to share my knowledge with the others in software and networking industry. Friday, February 27, 2015. How to pass Basic authntication headers to backend server via API Manager. First let me explain how authorization headers work in API Manager. When user send authorization header along with API request we will use it for API authentication purpose. And we will drop it from out going message. Update following property in. Repository/conf/api-manager.xml and restart server. Out going message from ga...
sanjeewamalalgoda.blogspot.com
Sanjeewa Malalgoda's Blog: How to install Redis in ubuntu and send event
http://sanjeewamalalgoda.blogspot.com/2015/08/how-to-install-redis-in-ubuntu-and-send.html
I hope to share my knowledge with the others in software and networking industry. Thursday, August 13, 2015. How to install Redis in ubuntu and send event. Please follow below instructions to install and use Redis. Type following commands in command line. Wget http:/ download.redis.io/releases/redis-stable.tar.gz. Tar xzf redis-stable.tar.gz. Sudo /install server.sh. As the script runs, you can choose the default options by pressing enter. Sudo service redis 6379 start. Sudo service redis 6379 stop.