Spring Security – Spring Authentication and Authorization Basics

Table of Contents Introduction — My Scandalous Confession Generating a Spring Security Project The Security Configuration Files Spring’s StandardPasswordEncoder Using Security in the View Layer — The Spring Security Tag Libraries Introduction — My Scandalous Confession Before we begin with the tutorial, I am going to lay bare my soul to you. I know, most […]

Read More…

Configuring Spring for Test versus Production

Contents Spring Configuration Options The META-INF Gospel Configuring Spring Properties at Build Time Using Multiple Modules Configuring Spring Properties at Run Time Using the PropertyPlaceholderConfigurer Setting up PropertyPlaceholderConfigurer in the ApplicationContext Some Properties Files to Test Injecting Properties Testing with JUnit Spring Configuration Options The Spring Framework is not opinionated software. Instead, Spring has a […]

Read More…

Spring Unit Testing Using JUnit

Table of Contents The Simplest Case – Exploring the IDE Starter Project Testing Some Basic Spring Beans Pojo Style: Getting an Application Context in a junit.org Test Runner Exploring the IDE Starter Project In this tutorial we’ll set up some really basic Spring unit tests — the sort of thing that is vanilla enough so […]

Read More…