I never liked authclass property but what we should have in it's place require major refactoring and your proposal is not worst than the current situation so I'm fine with it. +0
On Fri, Oct 21, 2016 at 9:59 AM, Alexandru Cotiuga <[email protected]> wrote: > Since the xwiki.cfg allows the same for all the wikis, I was thinking for > now > to keep the same behaviour but with XWikiPreference so this would mean > that the main wiki will be the only one taken into account. > > On Fri, Oct 21, 2016 at 10:39 AM, Thomas Mortagne <[email protected] >> wrote: > >> Note there there is a big different between XWikiPreferences page and >> xwiki.cfg: each wiki has its own. >> >> So do you plan to refactor the auth system to let each wiki have a >> different authenticator ? Or is the main wiki the only one that will >> be taken into account ? >> >> On Fri, Oct 21, 2016 at 8:57 AM, Alexandru Cotiuga >> <[email protected]> wrote: >> > Hi devs, >> > >> > I'm proposing to add this new property to the *XWikiPreferences* class >> > since there are many authenticators, listed on >> > http://platform.xwiki.org/xwiki/bin/view/Features/Authentication and >> most >> > of them require the overriding of the *xwiki.authentication.authclass* >> > property in the *WEB-INF/xwiki.cfg* file and the restart of the wiki. So >> > the *authclass* is meant to keep the value of the >> > *xwiki.authentication.authclass >> > *property*.* >> > >> > Please keep in mind that *xwiki.cfg* was the historical file containing >> the >> > configuration options, we're moving away from it and this can be the >> moment >> > to improve this functionality by removing the *restart wiki* step which >> is >> > often a pain for the user. >> > >> > Thanks, >> > Alex >> > _______________________________________________ >> > devs mailing list >> > [email protected] >> > http://lists.xwiki.org/mailman/listinfo/devs >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

