A Modern Approach to Spring Security Configuration

Note: While WebSecurityConfigurerAdapter was previously used extensively, it's now deprecated. We'll focus on the modern, component-based approach. Core Components HttpSecurity: Defines HTTP security, including request matching, authentication, authorization, and exception…

Let’s Dive into Spring Security

Spring Security is a powerful and highly customizable framework that provides security for Java applications. Its primary function is to handle authentication and authorization, ensuring that only authorized users can access specific resources and perform certain actions within an application.
Milestone and Snapshot Versions: Understanding Software Development Stages

Milestone and Snapshot Versions: Understanding Software Development Stages

Imagine building a house. Before it's finished, you'll have different stages: laying the foundation, framing the walls, and painting the rooms. These stages are like milestones in software development. A snapshot, on the other hand, is like taking a picture of the house at a specific point during construction.
Anshuman Gaekwad

Anshuman Gaekwad: A Titan of Indian Cricket Passes Away

Anshuman Gaekwad, a name etched in the annals of Indian cricket history, breathed his last on July 31, 2024, at the age of 71, after a valiant battle with cancer. His demise cast a long shadow over the cricketing world, leaving an irreplaceable void.
Spring Custom Security Example

Spring Custom Security Example

Spring Custom Security Example : Step 1: Create Spring Boot Starter Project : The sample main class will be like this : package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public…
Most Important Concepts In Spring Security

Most Important Concepts In Spring Security

Spring Security in Spring Boot provides the "PasswordEncoder" interface for secure password storage. This interface enforces one-way transformations of passwords, meaning you can only encode a plain text password into a hashed format, but not reverse the process to retrieve the original password. This is crucial for protecting user credentials.
Spring Security Authentication Process

Spring Security Authentication Process

Spring Security secures your application through a chain of filters. Here's a breakdown of the authentication process step-by-step, including the inbuilt filters and classes involved: