Spring Security Form Login 1. Introduction This article is going to focus on Login with Spring Security. We’re going to build on top of the simple previous Spring MVC example, as that’s a necessary part of setting up the web application along with the login mechanism. Further reading: Spring Security… Continue Reading spring-security-login

The Registration Process With Spring Security 1. Overview In this article, we’ll implement a basic registration process with Spring Security. This is building on top of concepts explored in the previous article, where we looked at login. The goal here is to add a full registration process that allows a… Continue Reading registration-with-spring-mvc-and-spring-security

Retrieve User Information in Spring Security 1. Overview This article will show how to retrieve the user details in Spring Security. The currently authenticated user is available through a number of different mechanisms in Spring – let’s cover the most common solution – programmatic access, first. Further reading: Keep Track… Continue Reading get-user-in-spring-security

Spring Security with Maven 1. Overview This article will explain how to setup Spring Security with Maven and will go over specific use-cases of using Spring Security dependencies. The latest Spring Security releases can be found on Maven Central. This is a followup to the previous Spring with Maven article,… Continue Reading spring-security-with-maven

Spring Boot Security Auto-Configuration 1. Introduction In this article, we’ll have a look at Spring Boot’s opinionated approach to security. Simply put, we’re going to focus on the default security configuration and how we can disable or customize it if we need to. Further reading: Spring Security – security none,… Continue Reading spring-boot-security-autoconfiguration

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

Spring Security for Spring Boot Integration Tests 1. Introduction The ability to execute integration tests without the need for a standalone integration environment is a valuable feature for any software stack. The seamless integration of Spring Boot with Spring Security makes it simple to test components that interact with a… Continue Reading spring-security-integration-tests