<?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 Java NuxeoClient resource in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/java-nuxeoclient-resource/m-p/313073#M74</link>
    <description>&lt;P&gt;I've written a few short example apps tailored to my needs using Java client 3.6.
Now it's time to integrate all of this in the real application.
If I want to deliver Nuxeo security, I have to access Nuxeo as the logged in user. So my best guess so far is that I have to create a short-lived NuxeoClient instance with the user credentials, perform simple operations like uploading a file into Nuxeo Server and then basically I'm done with the NuxeoClient instance since I can't reuse it for the next operations performed by another user.
Is there a clean way to dispose of the NuxeoClient instance when I'm done using it? There is no close() method but should I use disconnect() for instance?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 19:00:13 GMT</pubDate>
    <dc:creator>__2</dc:creator>
    <dc:date>2020-11-23T19:00:13Z</dc:date>
    <item>
      <title>Java NuxeoClient resource</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/java-nuxeoclient-resource/m-p/313073#M74</link>
      <description>&lt;P&gt;I've written a few short example apps tailored to my needs using Java client 3.6.
Now it's time to integrate all of this in the real application.
If I want to deliver Nuxeo security, I have to access Nuxeo as the logged in user. So my best guess so far is that I have to create a short-lived NuxeoClient instance with the user credentials, perform simple operations like uploading a file into Nuxeo Server and then basically I'm done with the NuxeoClient instance since I can't reuse it for the next operations performed by another user.
Is there a clean way to dispose of the NuxeoClient instance when I'm done using it? There is no close() method but should I use disconnect() for instance?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 19:00:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/java-nuxeoclient-resource/m-p/313073#M74</guid>
      <dc:creator>__2</dc:creator>
      <dc:date>2020-11-23T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java NuxeoClient resource</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/java-nuxeoclient-resource/m-p/313074#M75</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can use the disconnect method to free some resources.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 10:00:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/java-nuxeoclient-resource/m-p/313074#M75</guid>
      <dc:creator>Kevin_Leturc</dc:creator>
      <dc:date>2020-11-30T10:00:16Z</dc:date>
    </item>
  </channel>
</rss>

