Hi, I have been working on an LDAP web client, and found that it could be a nice thing if Sling supported LDAP directories.
So I wrote up a rudimentary LDAP resource provider, which basically serves up an LDAP directory as a Sling resource tree. The first objectClass value of an LDAP entry is used as sling:resourceType, so that a GUI can be supplied by putting scripts in /apps/ldap/organizationalPerson, /apps/ldap/organizationalUnit and so on. The entry's attributes are available by adapting the LdapResource to ValueMap. I have committed the code to my whiteboard directory: http://svn.apache.org/viewvc/sling/whiteboard/vramdal/ldapresource/ Would this be something that should be added to sling/samples? -- Vidar S. Ramdal <[email protected]> Webstep AS - http://www.webstep.no Besøksadresse: Lilleakerveien 8, 0283 Oslo Postadresse: Postboks 272 Lilleaker, 0216 Oslo
