Introduction to Mockito: Unit Testing Framework

Mockito is a Java based mocking framework most preferred with the Junit testing framework. It internally uses Java Reflection and allows to create dummy objects of service. Mockito is a very useful tool that simplifies the test case creation by creating mock/dummy object of external dependencies this dummy data will later apply with mocks into … Continue reading Introduction to Mockito: Unit Testing Framework

Spring Boot Microservices communicating through GCP Pub/Sub

In this post, we will learn how to use GCP (Google Cloud Platform's) Pub/Sub service with the Spring Boot application. We will create two simple applications, sender and receiver. We will send a message to a sender application which will publish the message to a Topic and receiver application will receive the message by subscribing … Continue reading Spring Boot Microservices communicating through GCP Pub/Sub

Single sign-on with SAML and Spring Boot

Single Sign-on is an authentication process followed by many organizations for allowing users to access multiple applications with single sign in. Advantages of using Single Sign-on are: Use single credentials which are defined on centralized server.One time login to get access to multiple applications.Single place for user management like – add new user or account, … Continue reading Single sign-on with SAML and Spring Boot