The application uses basic authentication so that the same application can be run on a local Liberty server and on Bluemix without having to change anything. You can also use OAuth but would then have to change the callback. Additionally in order to run the sample without any additional setup you can use test users on the Connections development environment. You can also use your own Connections organization if you have already one or get your own test environment.

You can easily install and run the sample yourselves by following the instructions. There is only one Eclipse project that can be imported into the Eclipse IDE. All dependencies are pulled in via Maven and CDN.

The sample only invokes one REST API to read profile information of the current user.