everything I know

From the top of my mind…

Leave a comment

Running SAML2 SSO sample with WSO2 IS

What’s up people? 😀

Today I’m going to talk about how you can easily run the SAML2 based single-sign-on sample with WSO2 Identity Server. SAML stands for Security Assertion Markup Language and SAML2 is a version of the SAML standard for exchanging authentication and authorization data between security domains. You can read more about SAML2 here.

As a prerequisite, you’ll need to download a WSO2 IS setup first, from here. Apart from that, you’ll need a tomcat web server to deploy the sample applications. I’m using Ubuntu as my operating system, but you can run on Windows as well.

Continue reading


Leave a comment

Fixing an Issue in a FOSS Project

Hi all!

This is the first post I’m writing under the new category, IS Diaries. The post talks about what I learned first when I started working in WSO2 Identity Server.

Fixing a small issue in a project is the best way to get familiarize with its code while doing something useful. Even though I talk about wso2/product-is repository, most of these points will be applicable to any other WSO2 project as well as any other FOSS repository.

Continue reading

Leave a comment

IS Diaries – Intro To The Category

As you might already know, I was able to get a position at WSO2, a leading middleware company based on Sri Lanka. After the orientation, we were assigned to individual projects before permanantly alocating to teams. I was lucky enough to be assigned to a project in WSO2 Identity Server, which let me get to know the awesome Team-IS.

Image may contain: 12 people, including Maduranga Siriwardena, Ashen Weerathunga, Hasintha Indrajee, Darshana Gunawardana, Jayanga Kaushalya, Thanuja Lakmal Jayasinghe and Ishara Karunarathna, people smiling, indoor

With this new category, IS Diaries, I’m hoping to publish things I learned and experienced while working the Team-IS. Hope these will be of value to you all. 🙂


Docker සිංහලෙන්

සුභ දවසක් හැමෝටම. අද මම කතා කරන්න බලාපොරොත්තු වෙන්නේ Docker ගැන. මේ වෙනකොට software industry එකේ ගොඩක් ජනප්‍රිය technology එකක් තමයි Docker. අලුතෙන් industry එකට එන ඕනෙම කෙනෙකුට අවශ්‍ය වෙන platform එකක් කිව්වොත් හරියටම හරි. Docker ගැන articles, videos ගොඩක් තිබ්බත් සිංහලෙන් ලියවුන resources තියෙන්නේ හරිම අඩුවෙන්. ඒකයි  මේ article එක සිංහලෙන් ලියන්න හිතුවේ. එහෙනං පටන්ගමු.

Continue reading


How do I manage my projects

Hi there, It’s been a while…

Today I’m gonna talk about how to manage a software development project properly, at least how I see it should. Bear with me here, when I say ‘managing’, this isn’t a Project Management Tutorial as in a responsibility of a project manager, but more of a practical guide how not to screw up your software project. It took me several years and several projects to get used to these things, but I assure you, they are worth it! Let’s begin, shall we?

Continue reading


Hash Functions


Hello everyone, today I’m gonna talk about hash algorithms. First of all, what is a hash algorithm? A hash algorithms can be simply described as a set of instructions, that can be used to convert or map any arbitrary sized data into a fixed size string. Confused? Well see the follow diagram.

How a hash function works

How a hash function works. Source : Wikipedia

Continue reading


MyMalloc – Custom memory allocation library

Hi guys, blogging after a long time… 🙂

First of all, this post is about some code I developed in C for an assignment in my degree program, which I think would be very helpful to those who are in need, specially my juniors. 😉 But please use this just to get an idea and copy pasting will guarantee a big 0!

Continue reading