java
Articles tagged with java.
Keycloak SPI ID Collision: Redis Cache Ran on Infinispan
Keycloak's ProviderManager dedupes SPI factories by provider ID before isSupported() runs. A shared "default" ID silently dropped our Redis cache…
Keycloak User Federation: Building a Custom Provider
Build a custom Keycloak UserStorageProvider SPI for user federation with external databases, covering credential validation, caching, and lazy loading.

Spring Boot + Keycloak OAuth 2.0: The Complete 2026 Guide
The complete guide to securing Spring Boot 3.x apps with Keycloak using spring-security-oauth2-resource-server, JWT validation, and method-level security.
Keycloak Custom SPI Development: Build Your First Extension
Build custom Keycloak extensions using the SPI framework. Complete tutorial covering EventListenerProvider, Authenticator, and UserStorageProvider with code.
Keycloak Testcontainers: Automated Auth Testing in CI/CD
Use Testcontainers to spin up real Keycloak instances in integration tests with Java, Python, and Node.js examples for reliable CI/CD…

Migrating from Legacy Keycloak Spring Boot Adapters
Step-by-step guide to migrating from deprecated Keycloak Spring Boot adapters to Spring Security native OAuth2/OIDC support in your Java applications.
Stay ahead on identity & security
Get tutorials, product updates, and Keycloak tips delivered to your inbox.