Repository navigation
Keycloak OIDC Adapter - Migrate packages from javax.* to jakarta.* AND back again #36400
akley
started this conversation in
Adapter deprecation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I have a question related to something that goes back a bit to 22.0.0.
Im using the keycloak-undertow-adapter library Version 25.0.3 in a REST application (Undertow web-server, RestEasy REST-framework and HAPI-FHIR) and currently I have trouble using the latest versions of my dependencies because they already use the new JavaEE (jakarta.*) namespace.
Now I noticed that the old javax.* namespace was migrated to jakarts.* back in the days in 22.0.0 -> GREAT! But then, a commit later apparently discarded it - WHY?
For example, look at KeycloakServletExtension.java in the adapters/oidc/undertow/ package
migrate namespace javax. to jakarta.**
7cff857#diff-51b4328a332f32115b55c85a67cf78331eb8447a20df915ce79a763505f523ec
and then, change back jakarta. -> javax. (revert – why?)**
124591c#diff-51b4328a332f32115b55c85a67cf78331eb8447a20df915ce79a763505f523ec
Why was the jakarta.* migration reverted? That's exactly what I recently did with a 25.0.3 clone of the adapter library in the last days, but this is not my desired solution.
And yes, I saw the announcement that the OIDC adapters would be completely removed in 25.0.0. 😉
Btw:
Do you have any ideas how I can continue working with Keycloak as SSO in my setup, for example without keycloak-undertow-adapter?
My setup is:
org.jboss.resteasy:resteasy-undertow:7.0.0.Alpha4
org.jboss.resteasy:resteasy-servlet-initializer:7.0.0.Alpha4
org.keycloak:keycloak-undertow-adapter:25.0.3
org.keycloak:keycloak-policy-enforcer:25.0.3
ca.uhn.hapi.fhir:hapi-fhir-server:7.6.0
I hope someone can help
Cheers
Alex
All reactions