diff --git a/integration/admin-client/src/main/java/org/keycloak/admin/client/JacksonProvider.java b/integration/admin-client/src/main/java/org/keycloak/admin/client/JacksonProvider.java new file mode 100644 index 0000000000..58317b9bac --- /dev/null +++ b/integration/admin-client/src/main/java/org/keycloak/admin/client/JacksonProvider.java @@ -0,0 +1,6 @@ +package org.keycloak.admin.client; + +import org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider; + +public class JacksonProvider extends ResteasyJackson2Provider { +} diff --git a/integration/admin-client/src/main/java/org/keycloak/admin/client/Keycloak.java b/integration/admin-client/src/main/java/org/keycloak/admin/client/Keycloak.java index db73ea631c..779ff6de93 100755 --- a/integration/admin-client/src/main/java/org/keycloak/admin/client/Keycloak.java +++ b/integration/admin-client/src/main/java/org/keycloak/admin/client/Keycloak.java @@ -67,6 +67,8 @@ public class Keycloak implements AutoCloseable { if (customJacksonProvider != null) { clientBuilder.register(customJacksonProvider, 100); + } else { + clientBuilder.register(JacksonProvider.class, 100); } return clientBuilder.build();