This tutorial covers securing a Spring Boot applications with Keycloak. Keycloak is an open source identity and access management solution which aims at securing applications and services. Users can authenticate with Keycloak rather coding individual applications. So, the applications don’t have to deal with login authentication forms, and other security concerns in the application code. Let’s see how you can add Keycloak security to a Spring Boot application.
LDAP is commonly used in Spring Boot applications as a source of authentication and authorization information. In this tutorial we will learn how to secure a simple Spring Boot Web application using an embedded LDAP Server.
In this tutorial we will learn how to generate encrypted passwords using BCryptPasswordEncoder.
This tutorial will teach you how to secure your Spring Boot applications using a JDBC Datasource and the H2 Database. We will create a sample REST Controller with two method endpoints, each one available to a distinct Role.
In this tutorial we will learn how to enable in-memory basic authentication for a simple REST Service using Spring Boot. We will configure two different users with different Roles and add a Test class to verify the in-memory basic authentication.
In this tutorial we will learn how to secure Spring Boot Web applications using different security providers from the default Security user/password to In-Memory Security. Finally we will switch to Database authentication using mysql as a database.