VirtualBox

Changeset 53243 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Nov 5, 2014 5:17:17 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96794
Message:

Main/glue/glue-java.xsl: additional tweaking, to make sure that newer class libraries pick up the special SSLSocketFactory, plus comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/glue-java.xsl

    r53219 r53243  
    44894489            ((BindingProvider)port).getRequestContext().
    44904490                put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url);
     4491
     4492            // Unfortunately there is no official way to make JAX-WS use
     4493            // TLS only, which means that a rather tedious approach is
     4494            // unavoidable (implementing a TLS only SSLSocketFactory,
     4495            // because the default one associated with a TLS SSLContext
     4496            // happily uses SSLv2/3 handshakes, which make TLS servers
     4497            // drop the connection), and additionally a not standardized,
     4498            // shotgun approach is needed to make the relevant JAX-WS
     4499            // implementations use this factory.
    44914500            VBoxTLSSocketFactory sf = new VBoxTLSSocketFactory();
    44924501            ((BindingProvider)port).getRequestContext().
    44934502                put("com.sun.xml.internal.ws.transport.https.client.SSLSocketFactory", sf);
     4503            ((BindingProvider)port).getRequestContext().
     4504                put("com.sun.xml.ws.transport.https.client.SSLSocketFactory", sf);
    44944505
    44954506            String handle = port.iWebsessionManagerLogon(username, passwd);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette