Articles, tutorials, guides and examples about Spring Framework, Spring Boot, Spring Security, Spring Security OAuth and Spring Data.
Securing a Spring Boot Application with Keycloak - A First Look
Learn how to: set up a Spring Boot application for a public library, define the application resources, add access policies based on user roles. We're going to use OAuth 2.0 and OpenID Connect, specifically the standard Authorization Code Flow.
How to enable HTTPS in a Spring Boot Java application
Setting up HTTPS for Spring Boot requires two steps: getting an SSL certificate and configuring SSL in Spring Boot. Whether you're going to generate a self-signed certificate or you have already got one by a CA, I'll show you how to enable HTTPS in a Spring Boot application.
Getting Started with Spring Data MongoDB using Java Configuration
In this tutorial, I'll show you how to use Spring Data MongoDB to integrate a MongoDB NoSQL database into a Spring Boot application. Spring lets you use either Java configuration or XML configuration or a mix of the two. I'll use a pure Java configuration.