Category Programming

Infinite loops in Java

In this post, we will see ways to create a infinite loop in Java Creating an infinite loops endlessly might be an programming error but sometimes it will be intentional to support the behavior of your application Using do..while Using…

Spring boot REST API Security

In this post will see how to secure the REST API using Basic Authentication with Spring security features. In this example, we will be using Spring boot to avoid basic configuration I will describe only the security part of Spring…