Giter Site home page Giter Site logo

Comments (3)

skarzhevskyy avatar skarzhevskyy commented on September 13, 2024

Do you think adding example using Apache CXF will add value to this already impressive list ?
https://cxf.apache.org/docs/jax-rs-client-api.html and the same for https://cxf.apache.org/docs/dynamic-clients.html
can be achieved in CXF by adding HTTPConduitConfigurer and using already documented methods
minimalistic code example

 @Override
    public void configure(String name, String address, HTTPConduit httpConduit) {
       TLSClientParameters tls = httpConduit.getTlsClientParameters();
        if (tls == null) {       tls = new TLSClientParameters();       }
        SSLFactory sslFactory = ....;
        tls.setTrustManagers(new TrustManager[] { sslFactory.getTrustManager().get() });
        tls.setHostnameVerifier(sslFactory.getHostnameVerifier());
        httpConduit.setTlsClientParameters(tls);
    }

from sslcontext-kickstart.

Hakky54 avatar Hakky54 commented on September 13, 2024

Hi Vlad, @skarzhevskyy

Thank you for your suggestion for these two http clients. I think it will definitely add value to the list. The https://cxf.apache.org/docs/jax-rs-client-api.html looks however identical to the jersey client, see here for the example configuration and example request: Client Configuration | Example request What do you think?

Regarding the other client, https://cxf.apache.org/docs/dynamic-clients.html, feel free to open a pull request here: https://github.com/Hakky54/mutual-tls-ssl if you want to contribute or else I will try to add it 😄

from sslcontext-kickstart.

Hakky54 avatar Hakky54 commented on September 13, 2024

I updated the list with Apache Jax-RS and Apache WebClient configuration. Thank you for the PR Vlad!

from sslcontext-kickstart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.