Re: JAX-RS 2.0 Client API and TLS configuration

2015-06-04 Thread Matt Parker
Thanks for the quick reply, as always, Sergey. A related question: how would I go about setting other socket options, not necessarily related to SSL (connection timeout, etc) using the spec API? I see many examples on the web which show implementation-specific examples (RESTeasy, Jersey) but not fo

Re: JAX-RS 2.0 Client API and TLS configuration

2015-06-04 Thread Sergey Beryozkin
Hi Here is a test: https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/security/JAXRS20HttpsBookTest.java There should be some examples on the web too Cheers, Sergey On 04/06/15 20:07, Matt Parker wrote: Hi all, I'm attempting to configure the

JAX-RS 2.0 Client API and TLS configuration

2015-06-04 Thread Matt Parker
Hi all, I'm attempting to configure the TLS parameters of the client. I know how to do this using the TLSClientParameters and the HTTPConduit obtained through the CXF WebClient API. However, I'd like to stick with using the JAX-RS 2.0 spec API. I'm hoping there's some way to get at this using the

Re: Issue with CXF on Websphere with ws-security-policy

2015-06-04 Thread Colm O hEigeartaigh
Hi, I've fixed the NPE in Santuario as reported in "websphere_npe_with_cxf_3_1.txt". I don't know why a CXF service deployed in Websphere puts the EncryptedKey below the EncryptedData without the dependencies you have listed. WSS4J will not accept a message containing an EncryptedKey below the Enc