<?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: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327536#M14537</link>
    <description>&lt;P&gt;Hi Rafi,&lt;/P&gt;
&lt;P&gt;Try to add this line in your xml contrib file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component name="yourComponent" version="1.0"&amp;gt;
	&amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig&amp;lt;/require&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Jihad&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2016 16:21:40 GMT</pubDate>
    <dc:creator>mejihad_</dc:creator>
    <dc:date>2016-10-04T16:21:40Z</dc:date>
    <item>
      <title>authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327535#M14536</link>
      <description>&lt;P&gt;I am trying to test a login/auth plugin example, which (among other things) alters the authenticationChain (in order to add itself), and yet it seems it does not 'kick in' or being used, i.e. the log shows both its auth-plugin and login-plugin are initialized, and yet when I try to log in, they do not get involved in the auth/login process. looking at the log, it seems the alteration the auth plugin makes to authenticationChain are overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig (from the log):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService] New authentication chain powered by service:org.nuxeo.ecm.platform.your.authentication.chain.config
...
[org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService] New authentication chain powered by service:org.nuxeo.ecm.platform.ui.web.auth.defaultConfig
...
[org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService] New authentication chain powered by service:com.ikanow.infinit.e.nuxeo.auth.InfiniteAuthenticator &amp;lt;&amp;lt;&amp;lt; NOTE THIS IS THE PLUGIN-EXAMPLE I AM TRYING TO TEST ALTERING THE CHAIN, so that it would be able to perform its task
...
[org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService] New authentication chain powered by service:org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig &amp;lt;&amp;lt;&amp;lt; AND YET HERE THE ALTERATION MADE ABOVE IS OVERRIDDEN
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Could anyone please advise on how to resolve this issue ?&lt;/P&gt;
&lt;P&gt;p.s. just discovered that if I rename the plugin bundle to start with a 'Z' it gets loaded last, and as such its auth-chain 'prevails' (at the cost of overwriding WebEngine chain changes, of course). ~~about to try adding 'order' to the plugin (i.s. as another alternative, instead of renaming the bundle) to see if it will also work.~~
Further tests results:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;(as mentioned above) renaming the bundle name: the test-plugin chain alteration is the last to be applied&lt;/LI&gt;
&lt;LI&gt;renaming the config-file of the bundle (under NUXEO_INSTALL/nxserver/config) in the same way: WebEngine chain alteration is the last to be applied&lt;/LI&gt;
&lt;LI&gt;adding 'order = "9999"' to the test plugin: WebEngine chain alteration is the last to be applied&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:54:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327535#M14536</guid>
      <dc:creator>Rafi_Cohen</dc:creator>
      <dc:date>2016-10-03T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327536#M14537</link>
      <description>&lt;P&gt;Hi Rafi,&lt;/P&gt;
&lt;P&gt;Try to add this line in your xml contrib file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component name="yourComponent" version="1.0"&amp;gt;
	&amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig&amp;lt;/require&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Jihad&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 16:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327536#M14537</guid>
      <dc:creator>mejihad_</dc:creator>
      <dc:date>2016-10-04T16:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327537#M14538</link>
      <description>&lt;P&gt;Does not seem to work&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 18:10:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327537#M14538</guid>
      <dc:creator>Rafi_Cohen</dc:creator>
      <dc:date>2016-10-04T18:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327538#M14539</link>
      <description>&lt;P&gt;Apology - it &lt;EM&gt;does&lt;/EM&gt; work&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 15:59:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327538#M14539</guid>
      <dc:creator>Rafi_Cohen</dc:creator>
      <dc:date>2016-10-17T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327539#M14540</link>
      <description>&lt;P&gt;Hi [Rafi Cohen](https&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 12:47:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327539#M14540</guid>
      <dc:creator>Sherry_Ummen</dc:creator>
      <dc:date>2017-07-27T12:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327540#M14541</link>
      <description>&lt;P&gt;[Rafi Cohen](https&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:10:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327540#M14541</guid>
      <dc:creator>Sherry_Ummen</dc:creator>
      <dc:date>2017-07-27T13:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: authenticationChain of my plugin is overridden by org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327541#M14542</link>
      <description>&lt;P&gt;Also how do you test its working using which API or method ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/authenticationchain-of-my-plugin-is-overridden-by-org-nuxeo-ecm/m-p/327541#M14542</guid>
      <dc:creator>Sherry_Ummen</dc:creator>
      <dc:date>2017-07-27T13:15:31Z</dc:date>
    </item>
  </channel>
</rss>

