After European union enacted the GDPR policies, every related product should comply with these regulations. So every latest WSO2 product will have the full scale capabilities to support the GDPR policies.

One of the most prominent requirement of GDPR is “right to be forgotten”. Every GDPR complaint WSO2 product has this feature. This feature is supported via a inbuilt tool that is packed with every GDPR complaint WSO2 product. And will be available as a separate standalone tool as well.

The main task of this tool is to anonymize records related to a deleted user. These records include, historical data…


If you posted something into the internet, that means you did something that whole world can see. Therefore concerning about the privacy is a mandatory fact when it comes to interconnected world. That is why there are lots of regulations and acts to control how the end user’s privacy is handled by a system. GDPR[1] is the latest.

General Data Protection Regulation is an act, that is enacted by European parliament to unify and strength the data protection of individuals in European union. Which will be enforced after 25th May 2018[2]. …


From WSO2 POM version 4 onward, CheckStyle and Findbugs maven plugins are enabled by default. So the code won’t compile if there are any CheckStyle or Findbugs issues present. Maven will complain about what are the issues there with the code. Until you fix everyone of them, you won’t be able to compile the code. (Of course you can disable CheckStyle and Findbugs) You can easily fix these issues beforehand by integrating CheckStyle and Findbugs plugins to IntelliJ IDEA.

Installing CheckStyle Plugin

First download the latest plugin (Or the version that is compatible with IDEA version) from plugins website. …


Problem

Let’s consider a normal JAVA prepared statement.

PreparedStatement pstmt = con.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?");
pstmt.setBigDecimal(1, 153833.00)
pstmt.setInt(2, 110592)

In the above prepared statement when we are assigning values to the placeholders, they are selected by there index or the position. If we have a complex SQL query, then we may need to be careful when assigning values as you may assign non related values to placeholders or you may miss assign values. Even if we able to add the correct indexes, it’ll be a hazel to modify the SQL query later on. …


OAuth 2.0 Form Post Response Mode is an optional specification in Open Id Connect. In this method, authorization response parameters are encoded and passed as HTML form data. Thus there will be a HTML POST request to the client. Below diagram will give a much clear understanding.

To use the form post response mode, the parameter “response_mode=from_post” should be included in the request to the authorization endpoint. Below is a sample request.

GET /authorize?
response_type=id_token
&response_mode=form_post
&client_id=some_client
&scope=openid
&redirect_uri=http://localhost:8080/callback
&state=EcQ8cfs3bNivybCRqcieLHlAbdCar
&nonce=2T1AgaeRTGTMAJyeDMN9IJbgiUG HTTP/1.1
Host: localhost

Major usage of this response mode is with the .NET clients. The OWIN middle ware which…


Well, simple answer is that everybody I know moved to Medium from Blogger or WordPress or etc... I just started wondering around bit and initial thoughts about this is also positive. I like the simpleness (I have blogger and I feel it is little bit complicated to use) where I can start writing from the first minute with the simple layout without any complicated gadgets (in blogger you can customize your blog page). This will be my first post in the Medium and I wrote it to find out how actually it is posted :).

Jayanga Kaushalya

Software Engineer @WSO2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store