Sorry, instead try:
WebClient.getConfig(wc).getInInterceptors().add(new LoggingInInterceptor());
Colm.
On Tue, Apr 21, 2020 at 5:10 PM masber masber wrote:
> Hi Colm,
>
> Apparently getInInterceptors is not a WebClient method. IDE forces me to
> cast and then it fails upon execution:
>
> ((Int
Hi Colm,
Apparently getInInterceptors is not a WebClient method. IDE forces me to cast
and then it fails upon execution:
((InterceptorProvider) wc).getInInterceptors().add(new LoggingInInterceptor());
Exception:
Apr 22, 2020 2:05:55 AM org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLog
Hi Matteo,
You could use the standard way of generating Random keys in Java and
combine it with the CXF API to write out the json equivalent. For example:
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
kpg.initialize(2048);
KeyPair keyPair = kpg.generateKeyPair();
JsonWebKey jsonWeb
Hi,
is it possible to have a snippet on how to generate random JWK keys
(e.g. the JSON on [1])?
I was checking the official reference on [2], but could not figure out
how to do that.
Thanks
[1]
https://raw.githubusercontent.com/apache/cxf/master/systests/rs-security/src/test/resources/org