Re: Adding my own ProviderManager (user management)
Arjan Molenaar <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <20060922100345.vciu5wvlwk0oogsc@server> |
Stéphane Croisier <[email protected]> wrote: > The LDAP provider is a read-only provider as most of the customers do > not want Jahia to directly manage user and group properties within > their centralised LDAP repository. So you would need to complete the > current implementation in order to make a read/write provider if this > is something you want to do... I have already done so. I created by own provider and added it to the list of current providers (both in the spring/applicationContext-services.xml and the services/usermanager/*router files. The problem is, however, that adding users won't happen on my custom provider, instead it uses the jahia provider (which still has order=1 IIRC). Should I just change the order and make my custon provider the first in line? BTW. For group editing (which now works BTW.) I had to edit the group_edit.jsp file, since there are some checks that only allow group editing for the jahia provider. Regards, Arjan > Cheers, > Stéphane > > At 11:14 18.09.2006, you wrote: >> Hi all, >> >> I'm currently working on a User- and GroupManagerProvider for our LDAP >> servers (which work through an intermediate EJB running on JBoss on >> Jahia 5. >> >> So far, things are going pretty well, I'm able to fetch users and >> groups from the LDAP (though the EJB) and it's even possible to change >> the memberships of groups (although that made me hack the >> jsp/jahia/administration/group_management/group_edit.jsp to allow >> membership changes for other sources that the jahia manager). >> >> One thing that I do not get right is adding users. When adding a users >> it's added to the Jahia provider no matter what configuration settings >> (I changed the "defaultProvider" property and order in the String >> configuration and the <is-default> tag in the >> service/usermanagement/*router-config.xml files). >> >> Am I missing something here? What do I need to do to make the YIRDIS >> provider the primary user and group resource for Jahia? I want to make >> use of the jahia provider for the root and siteAdmin users everything >> else has to move into the LDAP. >> >> Any ideas? >> >> Thanks in advance, >> >> Arjan Molenaar >> YIRDIS >> Almere, The Netherlands > > - -- --- -----=[ scroisier at jahia dot com ]=---- --- -- - > Head of Products - Jahia Ltd, Route des Jeunes 9, 1227 Carouge (Switzerland) > Jahia : The Java Unified Web Platform > www.jahia.org - The Product Web Site > www.jahia.net - The Community Web Site > www.jahia.com - The Commercial Services Company