09-22-2011 07:25 AM
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 :
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?
09-22-2011 08:13 AM
hello,
the winner is the last who deploys its authentication chain. To be the winner, you can force the deployment order using the keyword "require"
As you found that almost two contributions defines an authentication chain, your contribution may look like
<component name="ru.blabla.my.auth.component"> <require>org.nuxeo.ecm.platform.ui.web.auth.defaultConfig</require> <require>org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</require> ... <!-- my auth chain here --> </component>
Thierry
09-22-2011 08:13 AM
hello,
the winner is the last who deploys its authentication chain. To be the winner, you can force the deployment order using the keyword "require"
As you found that almost two contributions defines an authentication chain, your contribution may look like
<component name="ru.blabla.my.auth.component"> <require>org.nuxeo.ecm.platform.ui.web.auth.defaultConfig</require> <require>org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig</require> ... <!-- my auth chain here --> </component>
Thierry
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.