Conditionally Enable Scheduled Jobs in Spring Spring 1. Introduction The Spring Scheduling library allows applications to execute code at specific intervals. Because the intervals are specified using the @Scheduled annotation, the intervals are typically static and cannot change over the life of an application. In this tutorial, we’ll look at… Continue Reading spring-scheduled-enabled-conditionally

Spring Security Authentication Tutorial Login / Authentication + Form Login + Login – Error Handling and Localization + Prevent Brute Force Authentication Attempts + Roles and Privileges + Remember Me + Persistent Remember Me + Redirect to different pages after Login + Logout A Production-Grade Registration Process + Spring Security… Continue Reading spring-security-authentication-and-registration

RestTemplate Post Request with JSON 1. Introduction In this tutorial, we’ll illustrate how to use Spring’s RestTemplate to make POST requests sending JSON content. Further reading: Exploring the Spring Boot TestRestTemplate Learn how to use the new TestRestTemplate in Spring Boot to test a simple API. Read more → Spring… Continue Reading spring-resttemplate-post-json