Spring Security allows us to use role-based control to restrict access to API resources. However, inserting role names as simple…
A custom annotation in Spring Boot tests is an easy and flexible way to provide the required configuration. We can…
Delegating user management to Keycloak allows us to better focus on meeting the business needs of an application. However, we…
Swagger offers various methods to authorize requests to our Keycloak secured API. I'll show you how to implement the recommended…
Configuring our Spring Boot API to use Keycloak as an authentication and authorization server can greatly simplify our codebase. However,…
Keycloak provides simple integration with Spring applications. As a result, we can easily configure our Spring Boot API security to…
After updating to Java 17 we can encounter difficulties when running the mvn commands. Read this article to learn how…
OpenJDK 17 is available both through Ubuntu's default repository and as a standalone package for manual installation. Read this short…
We're going to apply Basic Auth on API calls made from Swagger UI. OpenAPI allows us to provide security configuration…
The springdoc-openapi library allows us to automatically generate an OpenAPI specification for our rest API built with Spring Boot. This…