[keycloak-user] Jaxrs Client Example?

Peter Donald peter at realityforge.org
Mon May 22 02:14:07 EDT 2017


Hi,

This is a really dumb question and I have tried to google+RTFM but
still can't seem to find the answer.

I am looking for a simple example where I can use a jaxrs client to
access a service protected by keycloak. I have only really found
references to admin-client which seems to be more about admin of
keycloak and the JaxrsBearerTokenFilterImpl which seems like it may
work but can't find an example where it is used or how I would go
about it.

Preferably I would like to do a .register( X ) when creating the jaxrs
client and have it handled automagically by a filter. I don't have
resteasy available atm if that makes a difference.

Any hints on where to figure this out?

-- 
Cheers,

Peter Donald


More information about the keycloak-user mailing list