Skip to main content

Posts

OAuth - Playing Ping Pong for Authorization

You probably would have heard the word OAuth more than a few times. Ever wondered what that is? do we use that at all?. Guess what we make use of OAuth almost everyday.I got the opportunity to learn about OAuth during my time at WSO2 Identity Server team. Here's the first step of conquering OAuth :) What Exactly is OAuth? Let me start with OAuth,  OAuth solves the problem of allowing third party entities( eg: applications) to access a resource owner's protected resources without actually giving away your valuable credentials like passwords.  Let's think of it this way. You have a facebook account(Assuming you have one :P) which is your protected resource and you are the resource owner . Now you get a little high and decide to try out one of these fancy Facebook apps that finds your soul mate. The app now becomes the third party application which requires access to read out your friend list from your profile which is the protected resource. Suppose you don't ...

Integrating Apache UIMA with WSO2 Complex Event Processor

Here's an article about our project to extract Traffic Information from twitter feeds using Apache UIMA, Apache OpenNLP and WSO2 Complex Event Processor. http://wso2.com/library/articles/2015/03/integrating-apache-uima-with-wso2-complex-event-processor/ You can find the source code of the project below, Twitter Streaming ActiveMQ Client Twitter Search ActiveMQ Client Twitter ActiveMQ Client (Search and Stream) Apache UIMA Collection Processing Engine Read more about how we go there from here . 

Writing Cas Consumers to send events to WSO2 CEP

Recently we concluded a project to extract traffic data from tweets of road.lk. This post would be one post of many posts to connect a few dots of our project. My friend Achintha has connected more than a few dots in his blog . I will post links to relevant parts as i proceed with this post. Initially let me give a brief introduction to the mischief we caused in this project. Our initial aim was to add support to sending events from Apache UIMA framework into the WSO2 Complex Event Processor.  We concluded the project by implementing a real world use case of Extracting traffic details using tweets(from road.lk ) and Apache UIMA framework and sending the extracted details as events to WSO2 Complext event processor. I know many of these terms are new, so let me start by describing some of these and i have included relevant links so that those of you who are interested can do some further reading. Apache UIMA( Unstructured Information Management Architecture )   ...

Hello World

            I have been keen on wanting to blog for a long time, but i guess now is the time to do so. Blogs are a great way to share stuff with people so writing one isn't a bad idea. Blogs have been lifesaver for so many nagging problems I have faced during my entire life, so i guess its time for me to payback. Just like a baby would cry out when it comes out to the world, a programmer would essentially write out a line "Hello World!!!" to start off coding in any language( Well at least i do that still :P and I think I am a programmer too :P). Writing about tech stuff hasn't been my forte either but nevertheless I love writing. So let me start off with a big "Hello World !!!"