<?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: Several authenticationChains, who wins? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/several-authenticationchains-who-wins/m-p/313342#M343</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;the winner is the last who deploys its authentication chain.
To be the winner, you can force the deployment order using the keyword "require"&lt;/P&gt;
&lt;P&gt;As you found that almost two contributions defines an authentication chain, your contribution may look like&lt;/P&gt;
&lt;PRE&gt;
&amp;lt;component name="ru.blabla.my.auth.component"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.defaultConfig&amp;lt;/require&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig&amp;lt;/require&amp;gt;
  ... &amp;lt;!-- my auth chain here --&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2011 12:13:40 GMT</pubDate>
    <dc:creator>Thierry_Martins</dc:creator>
    <dc:date>2011-09-22T12:13:40Z</dc:date>
    <item>
      <title>Several authenticationChains, who wins?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/several-authenticationchains-who-wins/m-p/313341#M342</link>
      <description>&lt;P&gt;Still struggling for redefinition of my authenticationChain, I noticed that it's redefined in several places. Beside my own XML contribs (in /nxserver/config), I can find some :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;in nuxeo-platform-web-common-5.4.2-HF04.jar/OSGI-INF/authentication-contrib.xml&lt;/LI&gt;
&lt;LI&gt;in nuxeo-webengine-core-5.4.2-HF01.jar/OSGI-INF/authentication-contrib.xml&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The question is : what happens when such a thing is redefined twice? Or, put simply : who wins? Clearly not mine, but how is it decided?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2011 11:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/several-authenticationchains-who-wins/m-p/313341#M342</guid>
      <dc:creator>OlivierM_</dc:creator>
      <dc:date>2011-09-22T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Several authenticationChains, who wins?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/several-authenticationchains-who-wins/m-p/313342#M343</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;the winner is the last who deploys its authentication chain.
To be the winner, you can force the deployment order using the keyword "require"&lt;/P&gt;
&lt;P&gt;As you found that almost two contributions defines an authentication chain, your contribution may look like&lt;/P&gt;
&lt;PRE&gt;
&amp;lt;component name="ru.blabla.my.auth.component"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.defaultConfig&amp;lt;/require&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig&amp;lt;/require&amp;gt;
  ... &amp;lt;!-- my auth chain here --&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2011 12:13:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/several-authenticationchains-who-wins/m-p/313342#M343</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2011-09-22T12:13:40Z</dc:date>
    </item>
  </channel>
</rss>

