Getting Started
This repo is a sample using Keycloak on Spring Boot framework
Requirements:
- Keycloak server 10.x
- Spring boot 2.3.x
Function:
- Use keycloak adapter with spring security
- Load JWT token content to spring security context (username, role work fine)
Note:
- Keycloak client must use RSA encryption for JWT signature
Reference Documentation
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Security
- OAuth2 Client
Guides
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Securing a Web Application
- Spring Boot and OAuth2
- Authenticating a User with LDAP
Additional Links
These additional references should also help you: