Changeset 53243 in vbox for trunk/src/VBox/Main/glue
- Timestamp:
- Nov 5, 2014 5:17:17 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96794
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/glue-java.xsl
r53219 r53243 4489 4489 ((BindingProvider)port).getRequestContext(). 4490 4490 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. 4491 4500 VBoxTLSSocketFactory sf = new VBoxTLSSocketFactory(); 4492 4501 ((BindingProvider)port).getRequestContext(). 4493 4502 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); 4494 4505 4495 4506 String handle = port.iWebsessionManagerLogon(username, passwd);
Note:
See TracChangeset
for help on using the changeset viewer.