I fear that getting Spring setup could be more pain than trying to complete
it the way I have done so far.

I have got to :

        // Setup TLS client params
        TLSClientParameters tlsParams = new TLSClientParameters();
        X509TrustManager trustManager =new
X509TrustManager(validPrincipalName);
        TrustManager[] trustManagers = new TrustManager[1];
        trustManagers[0] = trustManager;
        tlsParams.setTrustManagers(trustManagers);
        tlsParams.setDisableCNCheck(true);

But not sure where to get the values for the following parameters from:

String validPrincipalName =
"CN=Bethal,OU=Bethal,O=ApacheTest,L=Syracuse,C=US";







--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to