Exactly, is what I used to replace RESTEasy proxy feature, but I'm agree
with Bill that there should be a standard way of creating proxies.
Also the Multipart stuff use RESTEasy-specific object:
import org.jboss.resteasy.plugins.providers.multipart
.MultipartFormDataOutput;
2016-08-09 15:48 GMT+02:00 Marek Posolda <mposolda(a)redhat.com>:
It seems that at least CXF has something very similar too -
https://github.com/luigidemasi/keycloak-cxf-admin-client/blob/master/src/
main/java/org/keycloak/admin/client/Keycloak.java#L96-L103
Marek
On 09/08/16 15:22, Bill Burke wrote:
I wish the JAX-RS JSR would just standardize the proxy stuff that is in
Resteasy. They were being stubborn and refused to accept my submission for
it even though it is a much used feature. Then we wouldn't have to have
separate clients for CXF and Resteasy. Somebody could probably pull it out
of Resteasy and make it generic so it could run on any JAX-RS platform.
On 8/9/16 8:57 AM, Marek Posolda wrote:
Cool, Thanks for sharing this!
This might be useful to be available in Keycloak OOTB, so admin-client can
pick either resteasy or CXF (or any other available impl) according to what
is available. If you want to create JIRA and send PR it will be good :-)
Marek
On 04/08/16 18:36, Luigi De Masi wrote:
Hi,
I'm working on a Spring boot + Fuse integration Service project that use
cxf to expose restful web services and KC admin client to manage users in a
realm.
I had some issues (that I was expecting...) running CXF servers and
RESTEasy KC admin client together so I decided to remove all
RESTEasy/jboss dependency from KC client and adapt the code to use CXF as
JAX-RS implementation.
It works quite well with very few changes, so I decided to share it on my
github
in case someone else is in the same situation as me or prefer CXF over
RESTEasy.
https://github.com/luigidemasi/keycloak-cxf-admin-client
I'm also thinking about adding OSGI support to have the possibility to
deploy it in karaf and maybe a camel component as well.
Regards.
--
Luigi De Masi
*"Talk is cheap. Show me the code."*
* -- Linus Torvalds*
------------------------------
Extra srl
p: +39 0587975800
a: Via Salvo D'Acquisto 40/P - 56025 - Pontedera - Italy
<
https://goo.gl/maps/ngs7hecn9By>
w:
www.extrasrl.it e: info(a)extrasys.it
<
https://www.facebook.com/Extra-149813195076455/?fref=ts>
<
https://twitter.com/extrasrl>
<
https://www.linkedin.com/company/extra-srl>
<
https://flipboard.com/@extrasrl/soluzioni-per-il-business-0rk6urr6y>
<
https://www.youtube.com/channel/UCZa_aTznqeh5zoIPKPk1dNg>
Le informazioni trasmesse sono riservate alla persona o ente alla quali
sono indirizzate e possono contenere informazioni riservate e/o materiale
di valore. Qualsiasi revisione, ritrasmissione, diffusione o altro uso, o
l'adozione di azioni basate su tali informazioni da parte di soggetti
diversi dal destinatario è proibita. Se avete ricevuto per errore questo
messaggio, siete pregati di informare il mittente e cancellare il materiale
contenuto da ogni computer.
The information transmitted is intended for the person or entity to which
it is addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or entities other than
the intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
_______________________________________________
keycloak-user mailing
listkeycloak-user@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing
listkeycloak-user@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing
listkeycloak-user@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
Luigi De Masi
*"Talk is cheap. Show me the code."*
* -- Linus Torvalds*
------------------------------
--
------------------------------
Extra srl
p: +39 0587975800
a: Via Salvo D'Acquisto 40/P - 56025 - Pontedera - Italy
<
https://goo.gl/maps/ngs7hecn9By>
w:
www.extrasrl.it e: info(a)extrasys.it
<
https://www.facebook.com/Extra-149813195076455/?fref=ts>
<
https://twitter.com/extrasrl>
<
https://www.linkedin.com/company/extra-srl>
<
https://flipboard.com/@extrasrl/soluzioni-per-il-business-0rk6urr6y>
<
https://www.youtube.com/channel/UCZa_aTznqeh5zoIPKPk1dNg>
Le informazioni trasmesse sono riservate alla persona o ente alla quali
sono indirizzate e possono contenere informazioni riservate e/o materiale
di valore. Qualsiasi revisione, ritrasmissione, diffusione o altro uso, o
l'adozione di azioni basate su tali informazioni da parte di soggetti
diversi dal destinatario è proibita. Se avete ricevuto per errore questo
messaggio, siete pregati di informare il mittente e cancellare il materiale
contenuto da ogni computer.
The information transmitted is intended for the person or entity to which
it is addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or entities other than
the intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.