Hi,
In the LdapAuthServiceImpl , as far as I understand it, everytime a user is
authentified, the method CreateUserFromLDAP is called, wich in turn creates
a user page in the wiki. The creation is done regardless of wether te page
already exists or not in the wiki, increasing its version number upon every
call to authenticate (which is called quite often).
I tried to do use the doc.isNew() method to try to avoid creating a user
page when it already exists, but the isNew appear to always return false
after the doc creation using this line:
XWikiDocument doc = context.getWiki().getDocument(fullwikiname, context);
Is that correct? Is there a way to avoid updating the user's document upon
every authentification?
Thanks,
Philippe Legrain