Package keycloak-admin-client is not part of RH-SSO

Solution Verified - Updated -

Issue

  • Is the keycloak-admin-client library part of the supported RH-SSO?
  • Is the keycloak-admin-client library compatible with a newer version of the RH-SSO server?
  • After an update/upgrade of RH-SSO server the library keycloak-admin-client is not working.
  • Getting the error bellow when updated the RH-SSO version to 7.3 and EAP version to 7.2
Caused by: javax.ws.rs.ProcessingException: java.lang.NullPointerException
    at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:600)
    at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:436)
    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:148)
    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:112)
    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76)
    at com.sun.proxy.$Proxy55.findAll(Unknown Source)
    at org.keycloak.example.basicauth.Controller.getRealmUtils(Controller.java:20)
    at org.keycloak.example.basicauth.Controller.<init>(Controller.java:26)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:106)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
    ... 45 more
Caused by: java.lang.NullPointerException
    at org.keycloak.admin.client.resource.BearerAuthFilter.filter(BearerAuthFilter.java:53)
    at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:587)
    ... 56 more

Environment

  • Red Hat Single Sign-On (RH-SSO) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In