<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:Https back-end problems in vSphere Client SDK Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941400#M1380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Thank you for the report.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Plugins are running in the same VM but they are loaded by different class loaders. In the case when a class is being provided by the HTML Client you can:&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;- switch to using non-static calls (as mentioned in the documentation &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HttpsURLConnection.html" rel="nofollow"&gt;https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HttpsURLConnection.html&lt;/A&gt;&lt;SPAN&gt;) OR&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;- embed your own version of the library in the Bundle-Classpath of your service jar bundle.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;We should definitely look into a better sample that takes into account this perspective.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Vladi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 12:57:18 GMT</pubDate>
    <dc:creator>_vladi_</dc:creator>
    <dc:date>2017-12-05T12:57:18Z</dc:date>
    <item>
      <title>Https back-end problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941399#M1379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our plugin performing https requests to the back-end server.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;According to the SDK samples, we can implement ThumbprintTrustManager/ThumbprintHostNameVerifier in order to be able to make requests to the https server with self signed certificate. But how can it work, if the web client has multiple plugins which have ThumbprintTrustManager? It seems that all plugins are running in the same VM, so calls like "HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());" will influence not only our plugin but other plugins, too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Dec 2017 08:54:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941399#M1379</guid>
      <dc:creator>ilyak</dc:creator>
      <dc:date>2017-12-03T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re:Https back-end problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941400#M1380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Thank you for the report.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Plugins are running in the same VM but they are loaded by different class loaders. In the case when a class is being provided by the HTML Client you can:&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;- switch to using non-static calls (as mentioned in the documentation &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HttpsURLConnection.html" rel="nofollow"&gt;https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HttpsURLConnection.html&lt;/A&gt;&lt;SPAN&gt;) OR&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;- embed your own version of the library in the Bundle-Classpath of your service jar bundle.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;We should definitely look into a better sample that takes into account this perspective.&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Vladi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 12:57:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941400#M1380</guid>
      <dc:creator>_vladi_</dc:creator>
      <dc:date>2017-12-05T12:57:18Z</dc:date>
    </item>
    <item>
      <title>Re:Https back-end problems</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941401#M1381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-weight: 300; background-color: rgb(250, 250, 250);"&gt;Thank you for your reply. Very helpfull.&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;As far as I understand calling to&amp;nbsp; &lt;/P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;P class="p1"&gt;VimPortType.findExtension can be done only via static calls (In case my vCenter has only self signed certificate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:40:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Https-back-end-problems/m-p/941401#M1381</guid>
      <dc:creator>ilyak</dc:creator>
      <dc:date>2017-12-06T09:40:46Z</dc:date>
    </item>
  </channel>
</rss>

