Nova Keycloak core library: pure-Java (no framework) token and user profile management for Keycloak-issued JWTs.
A pure-Java library (no Spring, no Quarkus, no framework dependency) that exposes a small, framework-agnostic facade to:
- parse and validate Keycloak-issued JWTs (signed by the realm's public key),
- extract the public payload claims into a typed
KeycloakProfile(sub,preferred_username,email,email_verified,name,realm_access.roles,resource_access.<client>.roles, etc.), - resolve the current request's principal (bearer token -> profile) without coupling to any HTTP framework.
It is consumed by nova-java-keycloak-quarkus-extension, which auto-wires it
into a Quarkus application.
If you are integrating Keycloak JWT handling in a non-Quarkus Java app
(plain JEE, Micronaut, Spring without spring-boot-starter-oauth2-resource-server,
vanilla main(...), etc.), depend on this library and call the facade directly.
For Quarkus apps prefer the extension:
nova-java-keycloak-quarkus-extension
Work in progress. Package coordinates, API surface and module layout will change. Track issues for progress.
| Artifact | Purpose |
|---|---|
nova-java-keycloak |
Pure-Java facade (this repo, single module) |
nova-java-keycloak-quarkus-extension |
Quarkus build-time extension + CDI auto-wiring |
./mvnw clean verifyRequires JDK 25 and Maven 3.9+.
Apache License 2.0. See LICENSE.