<?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 How do I get current user from a restlet? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-get-current-user-from-a-restlet/m-p/327872#M14873</link>
    <description>&lt;P&gt;How do I get current user from a restlet?&lt;/P&gt;
&lt;P&gt;I don't want to use Seam for my restlet.&lt;/P&gt;</description>
    <pubDate>Mon, 21 May 2012 11:14:34 GMT</pubDate>
    <dc:creator>jana01_</dc:creator>
    <dc:date>2012-05-21T11:14:34Z</dc:date>
    <item>
      <title>How do I get current user from a restlet?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-get-current-user-from-a-restlet/m-p/327872#M14873</link>
      <description>&lt;P&gt;How do I get current user from a restlet?&lt;/P&gt;
&lt;P&gt;I don't want to use Seam for my restlet.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 11:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-get-current-user-from-a-restlet/m-p/327872#M14873</guid>
      <dc:creator>jana01_</dc:creator>
      <dc:date>2012-05-21T11:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get current user from a restlet?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-get-current-user-from-a-restlet/m-p/327873#M14874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can get the principal from the HttpServletRequest object using
HttpServletRequest#getUserPrincipal() .&lt;/P&gt;
&lt;P&gt;Note that Restlet is not what Nuxeo recommends for REST APIs. We prefer &lt;A href="http://doc.nuxeo.com/x/mQAz"&gt;Content Automation&lt;/A&gt; or &lt;A href="http://doc.nuxeo.com/x/CYAO"&gt;JAX-RS/WebEngine&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 12:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-get-current-user-from-a-restlet/m-p/327873#M14874</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2012-05-21T12:20:22Z</dc:date>
    </item>
  </channel>
</rss>

