Spring Security for a REST API 1. Overview In this tutorial, we learn how to Secure a REST API using Spring and Spring Security 5. We will set up the security using Java configuration and will be using a Login and Cookie approach for authentication. Further reading: Spring Security Authentication… Continue Reading securing-a-restful-web-service-with-spring-security

Java Exceptions Interview Questions (+ Answers) 1. Overview Exceptions are an essential topic that every Java developer should be familiar with. This article provides answers to some of the questions that might pop up during an interview. 2. Questions ==== Q1. What Is an Exception? An exception is an abnormal… Continue Reading java-exceptions-interview-questions