<?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: Shibboleth cannot create a new user in 9.3 in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/shibboleth-cannot-create-a-new-user-in-9-3/m-p/326171#M13172</link>
    <description>&lt;P&gt;Thanks, but this was already fixed: &lt;A href="https://jira.nuxeo.com/browse/NXP-23837"&gt;NXP-23837&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 14:20:42 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2018-01-11T14:20:42Z</dc:date>
    <item>
      <title>Shibboleth cannot create a new user in 9.3</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/shibboleth-cannot-create-a-new-user-in-9-3/m-p/326170#M13171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I use the version 9.3 of nuxeo (no problem with the 9.2 version).
When I try to connect the first time to nuxeo with shibboleth, I have this error :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2018-01-04 19:46:52,468 ERROR [ajp-nio-0.0.0.0-8009-exec-1] [org.nuxeo.ecm.platform.shibboleth.auth.ShibbolethAuthenticationPlugin] Failed to get or create user entry
org.nuxeo.ecm.directory.DirectorySecurityException: User null does not have Write permission
	at org.nuxeo.ecm.directory.BaseSession.checkPermission(BaseSession.java:143)
	at org.nuxeo.ecm.directory.BaseSession.createEntry(BaseSession.java:357)
	at org.nuxeo.ecm.platform.shibboleth.auth.ShibbolethAuthenticationPlugin.handleRetrieveIdentity(ShibbolethAuthenticationPlugin.java:133)
(...)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I modified this file : nuxeo-platform-login-shibboleth/src/main/java/org/nuxeo/ecm/platform/shibboleth/auth/ShibbolethAuthenticationPlugin.java&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;131c131
&amp;lt;                 DocumentModel entry = userDir.getEntry(userId);
---
&amp;gt;                 DocumentModel entry = Framework.doPrivileged(() -&amp;gt; userDir.getEntry(userId));
133c133
&amp;lt;                     userDir.createEntry(fieldMap);
---
&amp;gt;                     Framework.doPrivileged(() -&amp;gt; userDir.createEntry(fieldMap));
136c136
&amp;lt;                     userDir.updateEntry(entry);
---
&amp;gt;                     Framework.doPrivileged(() -&amp;gt; userDir.updateEntry(entry));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And now it's ok, my new profil is created.
Happy new year &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 19:28:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/shibboleth-cannot-create-a-new-user-in-9-3/m-p/326170#M13171</guid>
      <dc:creator>jelninos_</dc:creator>
      <dc:date>2018-01-04T19:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shibboleth cannot create a new user in 9.3</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/shibboleth-cannot-create-a-new-user-in-9-3/m-p/326171#M13172</link>
      <description>&lt;P&gt;Thanks, but this was already fixed: &lt;A href="https://jira.nuxeo.com/browse/NXP-23837"&gt;NXP-23837&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 14:20:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/shibboleth-cannot-create-a-new-user-in-9-3/m-p/326171#M13172</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2018-01-11T14:20:42Z</dc:date>
    </item>
  </channel>
</rss>

