On 01/03/2010 09:09 PM, Jessica Hawkwell wrote:
Hi everyone!
I'm starting on a re-implementation of the LDAP implementation for XWiki, an
implementation that performs upward sync instead of downward sync (updating LDAP instead
of updating XWiki). This is for a unified platform we (a friend and myself) are working
on where XWiki is the "master app".
After reading through (some of) the sources for xwiki-core, it seems to me the entire
LDAP infrastructure is located in 2 packages: com.xpn.xwiki.plugins.ldap.* and
com.xpn.user.impl.LDAP.*
Before I begin, I'd like to confirm this so I can focus exclusively on the code I
need to re-implement and not have any surprise LDAP dependencies creep up later on. So,
am I correct that these are the packages that need to be rewritten for upward sync?
I'm not very familiar with the LDAP code, but I think that
com.xpn.xwiki.user.impl.LDAP is about checking login details against a
LDAP server, so it doesn't affect what you're trying to do.
Reimplementing the plugin wouldn't be too useful, since we'd end up with
two plugins with very similar jobs. It would be better to change the
existing LDAPPlugin to support the communication in the other direction.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/